home *** CD-ROM | disk | FTP | other *** search
/ Apple AUX 3.0 / Apple AUX 3.0.iso / System Folder / Apple Menu Items / Chooser / Chooser.rsrc / bin.rsrc_DRVR_15__Chooser.txt < prev    next >
Text File  |  1991-04-25  |  288KB  |  5,233 lines

  1. # name: 
  2. # flags: 0x1400 (ENABLE_CONTROL, NEED_GOODBYE)
  3. # delay: 10
  4. # event mask: 0x016A
  5. # menu id: 0
  6. # open label: 0014
  7. # prime label: 01E8
  8. # control label: 033E
  9. # status label: 01E8
  10. # close label: 0212
  11. 00000000  0000 4452                ori.b      D0, 0x52 /* 'R' */
  12. 00000004  5652                     addq.w     [A2], 3
  13. 00000006  000F 0070                ori.b      A7, 0x70 /* 'p' */
  14. 0000000A  0920                     btst       -[A0], D4
  15. 0000000C  2020                     move.l     D0, -[A0]
  16. 0000000E  2020                     move.l     D0, -[A0]
  17. 00000010  7637                     moveq.l    D3, 0x37
  18. 00000012  2E30 4E56                move.l     D7, [A0 + D4 * 8 + 0x56]
  19. open: // at 00000014 (misaligned)
  20. 00000016  FFF2                     .invalid   <<F/7/7>>
  21. 00000018  2849                     movea.l    A4, A1
  22. 0000001A  6100 06E0                bsr        +0x6E2 /* 000006FC */
  23. 0000001E  4AAC 0014                tst.l      [A4 + 0x14]
  24. 00000022  6600 01BA                bne        +0x1BC /* 000001DE */
  25. 00000026  303C A1AD                move.w     D0, 0xA1AD
  26. 0000002A  A346                     syscall    GetOSTrapAddress, flags=3
  27. 0000002C  2F08                     move.l     -[A7], A0
  28. 0000002E  303C A89F                move.w     D0, 0xA89F
  29. 00000032  A146                     syscall    GetTrapAddress, flags=1
  30. 00000034  B1DF                     cmpa.l     A0, [A7]+
  31. 00000036  671E                     beq        +0x20 /* 00000056 */
  32. 00000038  203C 7379 7376           move.l     D0, 0x73797376 /* 'sysv' */
  33. 0000003E  A1AD                     syscall    Gestalt, flags=1
  34. 00000040  0C40 0000                cmpi.w     D0, 0x0
  35. 00000044  6610                     bne        +0x12 /* 00000056 */
  36. 00000046  2008                     move.l     D0, A0
  37. 00000048  0280 0000 FFFF           andi.l     D0, 0xFFFF
  38. 0000004E  E088                     lsr        D0, 8
  39. 00000050  0C40 0007                cmpi.w     D0, 0x7
  40. 00000054  6C04                     bge        +0x6 /* 0000005A */
  41. label00000056:
  42. 00000056  7005                     moveq.l    D0, 0x05
  43. 00000058  6034                     bra        +0x36 /* 0000008E */
  44. label0000005A:
  45. 0000005A  203C 0000 4000           move.l     D0, 0x4000 /* '@\0' */
  46. 00000060  6100 021C                bsr        +0x21E /* 0000027E */
  47. 00000064  6634                     bne        +0x36 /* 0000009A */
  48. 00000066  9EFC 0040                sub.w      A7, 0x40 /* '@' */
  49. 0000006A  204F                     movea.l    A0, A7
  50. 0000006C  3178 0210 0016           move.w     [A0 + 0x16], [0x00000210 /* BootDrive */]
  51. 00000072  4268 001C                clr.w      [A0 + 0x1C]
  52. 00000076  42A8 0012                clr.l      [A0 + 0x12]
  53. 0000007A  A007                     syscall    GetVolInfo/PBHGetVInfo/HGetVInfo
  54. 0000007C  4A28 0027                tst.b      [A0 + 0x27]
  55. 00000080  6B06                     bmi        +0x8 /* 00000088 */
  56. 00000082  4A28 0026                tst.b      [A0 + 0x26]
  57. 00000086  6A22                     bpl        +0x24 /* 000000AA */
  58. label00000088:
  59. 00000088  4FEF 0040                lea.l      A7, [A7 + 0x40]
  60. 0000008C  700F                     moveq.l    D0, 0x0F
  61. label0000008E:
  62. 0000008E  3F3C 0001                move.w     -[A7], 0x1
  63. 00000092  A9C8                     syscall    SysBeep
  64. 00000094  6100 2AE4                bsr        +0x2AE6 /* 00002B7A */
  65. 00000098  6006                     bra        +0x8 /* 000000A0 */
  66. label0000009A:
  67. 0000009A  3F3C 0001                move.w     -[A7], 0x1
  68. 0000009E  A9C8                     syscall    SysBeep
  69. label000000A0:
  70. 000000A0  3F2C 0018                move.w     -[A7], [A4 + 0x18]
  71. 000000A4  A9B7                     syscall    CloseDeskAcc
  72. 000000A6  6000 0136                bra        +0x138 /* 000001DE */
  73. label000000AA:
  74. 000000AA  3178 0210 0016           move.w     [A0 + 0x16], [0x00000210 /* BootDrive */]
  75. 000000B0  A015                     syscall    SetVol/PBHSetVol/HSetVol
  76. 000000B2  4FEF 0040                lea.l      A7, [A7 + 0x40]
  77. 000000B6  6100 0620                bsr        +0x622 /* 000006D8 */
  78. 000000BA  203C 0000 024C           move.l     D0, 0x24C
  79. 000000C0  A122                     syscall    NewHandle, flags=1
  80. 000000C2  2948 0014                move.l     [A4 + 0x14], A0
  81. 000000C6  67D2                     beq        -0x2C /* 0000009A */
  82. 000000C8  A069                     syscall    HGetState
  83. 000000CA  1F00                     move.b     -[A7], D0
  84. 000000CC  A029                     syscall    HLock
  85. 000000CE  2450                     movea.l    A2, [A0]
  86. 000000D0  254C 0004                move.l     [A2 + 0x4], A4
  87. 000000D4  7000                     moveq.l    D0, 0x00
  88. 000000D6  2540 005E                move.l     [A2 + 0x5E], D0
  89. 000000DA  2540 0008                move.l     [A2 + 0x8], D0
  90. 000000DE  2540 0068                move.l     [A2 + 0x68], D0
  91. 000000E2  1540 0037                move.b     [A2 + 0x37], D0
  92. 000000E6  70FF                     moveq.l    D0, 0xFFFFFFFF
  93. 000000E8  2540 00C8                move.l     [A2 + 0xC8], D0
  94. 000000EC  3540 000C                move.w     [A2 + 0xC], D0
  95. 000000F0  3540 0014                move.w     [A2 + 0x14], D0
  96. 000000F4  3540 000E                move.w     [A2 + 0xE], D0
  97. 000000F8  357C 012A 0016           move.w     [A2 + 0x16], 0x12A
  98. 000000FE  357C 012A 0038           move.w     [A2 + 0x38], 0x12A
  99. 00000104  6100 1EEC                bsr        +0x1EEE /* 00001FF2 */
  100. 00000108  157C 0001 0059           move.b     [A2 + 0x59], 0x1
  101. 0000010E  3F38 0AFA                move.w     -[A7], [0x00000AFA /* DlgFont */]
  102. 00000112  5D4F                     subq.w     A7, 6
  103. 00000114  2F0F                     move.l     -[A7], A7
  104. 00000116  6100 2A26                bsr        +0x2A28 /* 00002B3E */
  105. 0000011A  3F00                     move.w     -[A7], D0
  106. 0000011C  3F3C 0001                move.w     -[A7], 0x1
  107. 00000120  6100 29D4                bsr        +0x29D6 /* 00002AF6 */
  108. 00000124  31D7 0AFA                move.w     [0x00000AFA /* DlgFont */], [A7]
  109. 00000128  5C4F                     addq.w     A7, 6
  110. 0000012A  203C 6865 6C70           move.l     D0, 0x68656C70 /* 'help' */
  111. 00000130  A1AD                     syscall    Gestalt, flags=1
  112. 00000132  0C40 0000                cmpi.w     D0, 0x0
  113. 00000136  6606                     bne        +0x8 /* 0000013E */
  114. 00000138  08EA 0006 0037           bset.b     [A2 + 0x37], 0x6
  115. label0000013E:
  116. 0000013E  6100 29FE                bsr        +0x2A00 /* 00002B3E */
  117. 00000142  3E00                     move.w     D7, D0
  118. 00000144  6100 2C80                bsr        +0x2C82 /* 00002DC6 */
  119. 00000148  594F                     subq.w     A7, 4
  120. 0000014A  3F07                     move.w     -[A7], D7
  121. 0000014C  42A7                     clr.l      -[A7]
  122. 0000014E  2F38 0A06                move.l     -[A7], [0x00000A06 /* MinusOne */]
  123. 00000152  A97C                     syscall    GetNewDialog
  124. 00000154  2017                     move.l     D0, [A7]
  125. 00000156  6610                     bne        +0x12 /* 00000168 */
  126. 00000158  584F                     addq.w     A7, 4
  127. 0000015A  31DF 0AFA                move.w     [0x00000AFA /* DlgFont */], [A7]+
  128. 0000015E  544F                     addq.w     A7, 2
  129. 00000160  422A 0059                clr.b      [A2 + 0x59]
  130. 00000164  6000 FF34                bra        -0xCA /* 0000009A */
  131. label00000168:
  132. 00000168  2640                     movea.l    A3, D0
  133. 0000016A  2F2C 0014                move.l     -[A7], [A4 + 0x14]
  134. 0000016E  A918                     syscall    SetWRefCon
  135. 00000170  294B 001E                move.l     [A4 + 0x1E], A3
  136. 00000174  6100 0076                bsr        +0x78 /* 000001EC */
  137. 00000178  2F0B                     move.l     -[A7], A3
  138. 0000017A  A873                     syscall    SetPort
  139. 0000017C  3F3C FFBF                move.w     -[A7], 0xFFBF
  140. 00000180  3F3C FF98                move.w     -[A7], 0xFF98
  141. 00000184  A878                     syscall    SetOrigin
  142. 00000186  31DF 0AFA                move.w     [0x00000AFA /* DlgFont */], [A7]+
  143. 0000018A  6100 168C                bsr        +0x168E /* 00001818 */
  144. 0000018E  7001                     moveq.l    D0, 0x01
  145. 00000190  6100 286C                bsr        +0x286E /* 000029FE */
  146. 00000194  256E FFFA 0070           move.l     [A2 + 0x70], [A6 - 0x6]
  147. 0000019A  7002                     moveq.l    D0, 0x02
  148. 0000019C  6100 2860                bsr        +0x2862 /* 000029FE */
  149. 000001A0  256E FFFA 0074           move.l     [A2 + 0x74], [A6 - 0x6]
  150. 000001A6  7003                     moveq.l    D0, 0x03
  151. 000001A8  6100 2854                bsr        +0x2856 /* 000029FE */
  152. 000001AC  256E FFFA 0078           move.l     [A2 + 0x78], [A6 - 0x6]
  153. 000001B2  7004                     moveq.l    D0, 0x04
  154. 000001B4  6100 2848                bsr        +0x284A /* 000029FE */
  155. 000001B8  256E FFFA 007C           move.l     [A2 + 0x7C], [A6 - 0x6]
  156. 000001BE  6100 28A6                bsr        +0x28A8 /* 00002A66 */
  157. 000001C2  6100 1A8C                bsr        +0x1A8E /* 00001C50 */
  158. 000001C6  6100 2CD4                bsr        +0x2CD6 /* 00002E9C */
  159. 000001CA  6100 0CBC                bsr        +0xCBE /* 00000E88 */
  160. 000001CE  377C 0002 006C           move.w     [A3 + 0x6C], 0x2
  161. 000001D4  6100 2164                bsr        +0x2166 /* 0000233A */
  162. 000001D8  376C 0018 006C           move.w     [A3 + 0x6C], [A4 + 0x18]
  163. label000001DE:
  164. 000001DE  6100 050C                bsr        +0x50E /* 000006EC */
  165. 000001E2  6100 0550                bsr        +0x552 /* 00000734 */
  166. 000001E6  4E5E                     unlink     A6
  167. prime:
  168. status:
  169. 000001E8  7000                     moveq.l    D0, 0x00
  170. 000001EA  4E75                     rts
  171. fn000001EC:
  172. 000001EC  4E56 FEF8                link       A6, -0x0108
  173. 000001F0  41FA FDF2                lea.l      A0, [PC - 0x20E /* FFFFFFE4, cstring ""<EOF> */]
  174. 000001F4  A128                     syscall    RecoverHandle, flags=1
  175. 000001F6  2F08                     move.l     -[A7], A0
  176. 000001F8  486E FEF8                pea.l      [A6 - 0x108]
  177. 000001FC  486E FEFC                pea.l      [A6 - 0x104]
  178. 00000200  486E FF00                pea.l      [A6 - 0x100]
  179. 00000204  A9A8                     syscall    GetResInfo
  180. 00000206  2F0B                     move.l     -[A7], A3
  181. 00000208  486E FF00                pea.l      [A6 - 0x100]
  182. 0000020C  A91A                     syscall    SetWTitle
  183. 0000020E  4E5E                     unlink     A6
  184. 00000210  4E75                     rts
  185. close:
  186. 00000212  4E56 FFF2                link       A6, -0x000E
  187. 00000216  3F07                     move.w     -[A7], D7
  188. 00000218  2849                     movea.l    A4, A1
  189. 0000021A  7E00                     moveq.l    D7, 0x00
  190. 0000021C  6100 04DE                bsr        +0x4E0 /* 000006FC */
  191. 00000220  674E                     beq        +0x50 /* 00000270 */
  192. 00000222  0C2A 0001 0059           cmpi.b     [A2 + 0x59], 0x1
  193. 00000228  6304                     bls        +0x6 /* 0000022E */
  194. 0000022A  7EE8                     moveq.l    D7, 0xFFFFFFE8
  195. 0000022C  6042                     bra        +0x44 /* 00000270 */
  196. label0000022E:
  197. 0000022E  202C 001E                move.l     D0, [A4 + 0x1E]
  198. 00000232  672E                     beq        +0x30 /* 00000262 */
  199. 00000234  2F00                     move.l     -[A7], D0
  200. 00000236  2F00                     move.l     -[A7], D0
  201. 00000238  082A 0004 0037           btst.b     [A2 + 0x37], 0x4
  202. 0000023E  6712                     beq        +0x14 /* 00000252 */
  203. 00000240  0838 0006 0938           btst.b     [0x00000938 /* HiliteMode */], 0x6
  204. 00000246  670A                     beq        +0xC /* 00000252 */
  205. 00000248  700E                     moveq.l    D0, 0x0E
  206. 0000024A  322A 000C                move.w     D1, [A2 + 0xC]
  207. 0000024E  6100 292A                bsr        +0x292C /* 00002B7A */
  208. label00000252:
  209. 00000252  A916                     syscall    HideWindow
  210. 00000254  6100 00CA                bsr        +0xCC /* 00000320 */
  211. 00000258  6100 1D32                bsr        +0x1D34 /* 00001F8C */
  212. 0000025C  A983                     syscall    DisposeDialog
  213. 0000025E  42AC 001E                clr.l      [A4 + 0x1E]
  214. label00000262:
  215. 00000262  206C 0014                movea.l    A0, [A4 + 0x14]
  216. 00000266  A02A                     syscall    HUnlock
  217. 00000268  A023                     syscall    DisposHandle/DisposeHandle
  218. 0000026A  42AC 0014                clr.l      [A4 + 0x14]
  219. 0000026E  544F                     addq.w     A7, 2
  220. label00000270:
  221. 00000270  6100 04C2                bsr        +0x4C4 /* 00000734 */
  222. 00000274  3007                     move.w     D0, D7
  223. 00000276  3E1F                     move.w     D7, [A7]+
  224. 00000278  4A40                     tst.w      D0
  225. 0000027A  4E5E                     unlink     A6
  226. 0000027C  4E75                     rts
  227. fn0000027E:
  228. 0000027E  4E56 FFEC                link       A6, -0x0014
  229. 00000282  48E7 70C0                movem.l    -[A7], D1,D2,D3,A0,A1
  230. 00000286  2D40 FFFC                move.l     [A6 - 0x4], D0
  231. 0000028A  2078 02B6                movea.l    A0, [0x000002B6 /* ExpandMem */]
  232. 0000028E  2628 01AE                move.l     D3, [A0 + 0x1AE]
  233. 00000292  2D43 FFF8                move.l     [A6 - 0x8], D3
  234. 00000296  D680                     add.l      D3, D0
  235. 00000298  4267                     clr.w      -[A7]
  236. 0000029A  42A7                     clr.l      -[A7]
  237. 0000029C  486E FFF0                pea.l      [A6 - 0x10]
  238. 000002A0  3F3C 0047                move.w     -[A7], 0x47 /* 'G' */
  239. 000002A4  A88F                     syscall    OSDispatch
  240. 000002A6  301F                     move.w     D0, [A7]+
  241. 000002A8  666C                     bne        +0x6E /* 00000316 */
  242. 000002AA  B6AE FFF0                cmp.l      D3, [A6 - 0x10]
  243. 000002AE  6F64                     ble        +0x66 /* 00000314 */
  244. 000002B0  4267                     clr.w      -[A7]
  245. 000002B2  486E FFF4                pea.l      [A6 - 0xC]
  246. 000002B6  42A7                     clr.l      -[A7]
  247. 000002B8  3F3C 0047                move.w     -[A7], 0x47 /* 'G' */
  248. 000002BC  A88F                     syscall    OSDispatch
  249. 000002BE  301F                     move.w     D0, [A7]+
  250. 000002C0  6654                     bne        +0x56 /* 00000316 */
  251. 000002C2  222E FFF0                move.l     D1, [A6 - 0x10]
  252. 000002C6  D2AE FFF4                add.l      D1, [A6 - 0xC]
  253. 000002CA  B681                     cmp.l      D3, D1
  254. 000002CC  6F46                     ble        +0x48 /* 00000314 */
  255. 000002CE  202E FFFC                move.l     D0, [A6 - 0x4]
  256. 000002D2  A522                     syscall    NewHandleSys, flags=5
  257. 000002D4  6640                     bne        +0x42 /* 00000316 */
  258. 000002D6  2F08                     move.l     -[A7], A0
  259. 000002D8  A562                     syscall    PurgeSpaceSys, flags=5
  260. 000002DA  B1EE FFF8                cmpa.l     A0, [A6 - 0x8]
  261. 000002DE  6C28                     bge        +0x2A /* 00000308 */
  262. 000002E0  4267                     clr.w      -[A7]
  263. 000002E2  486E FFF4                pea.l      [A6 - 0xC]
  264. 000002E6  486E FFF0                pea.l      [A6 - 0x10]
  265. 000002EA  3F3C 0047                move.w     -[A7], 0x47 /* 'G' */
  266. 000002EE  A88F                     syscall    OSDispatch
  267. 000002F0  301F                     move.w     D0, [A7]+
  268. 000002F2  6616                     bne        +0x18 /* 0000030A */
  269. 000002F4  222E FFF0                move.l     D1, [A6 - 0x10]
  270. 000002F8  D2AE FFF4                add.l      D1, [A6 - 0xC]
  271. 000002FC  B2AE FFF8                cmp.l      D1, [A6 - 0x8]
  272. 00000300  6C06                     bge        +0x8 /* 00000308 */
  273. 00000302  303C FF94                move.w     D0, 0xFF94
  274. 00000306  6002                     bra        +0x4 /* 0000030A */
  275. label00000308:
  276. 00000308  4240                     clr.w      D0
  277. label0000030A:
  278. 0000030A  3600                     move.w     D3, D0
  279. 0000030C  205F                     movea.l    A0, [A7]+
  280. 0000030E  A023                     syscall    DisposHandle/DisposeHandle
  281. 00000310  3003                     move.w     D0, D3
  282. 00000312  6002                     bra        +0x4 /* 00000316 */
  283. label00000314:
  284. 00000314  4240                     clr.w      D0
  285. label00000316:
  286. 00000316  4CDF 030E                movem.l    D1,D2,D3,A0,A1, [A7]+
  287. 0000031A  4E5E                     unlink     A6
  288. 0000031C  4A40                     tst.w      D0
  289. 0000031E  4E75                     rts
  290. fn00000320:
  291. 00000320  2F3C 444C 4F47           move.l     -[A7], 0x444C4F47 /* 'DLOG' */
  292. 00000326  6100 2816                bsr        +0x2818 /* 00002B3E */
  293. 0000032A  3F00                     move.w     -[A7], D0
  294. 0000032C  2F2C 001E                move.l     -[A7], [A4 + 0x1E]
  295. 00000330  6100 2AEC                bsr        +0x2AEE /* 00002E1E */
  296. 00000334  4267                     clr.w      -[A7]
  297. 00000336  A999                     syscall    UpdateResFile
  298. 00000338  6100 1396                bsr        +0x1398 /* 000016D0 */
  299. 0000033C  4E75                     rts
  300. control:
  301. 0000033E  4E56 FFF2                link       A6, -0x000E
  302. 00000342  48E7 FCF8                movem.l    -[A7], D0,D1,D2,D3,D4,D5,A0,A1,A2,A3,A4
  303. 00000346  2849                     movea.l    A4, A1
  304. 00000348  2648                     movea.l    A3, A0
  305. 0000034A  91C8                     sub.l      A0, A0
  306. 0000034C  202C 0014                move.l     D0, [A4 + 0x14]
  307. 00000350  670A                     beq        +0xC /* 0000035C */
  308. 00000352  2440                     movea.l    A2, D0
  309. 00000354  2452                     movea.l    A2, [A2]
  310. 00000356  4A2A 0059                tst.b      [A2 + 0x59]
  311. 0000035A  6214                     bhi        +0x16 /* 00000370 */
  312. label0000035C:
  313. 0000035C  082B 0001 0006           btst.b     [A3 + 0x6], 0x1
  314. 00000362  670C                     beq        +0xE /* 00000370 */
  315. 00000364  204C                     movea.l    A0, A4
  316. 00000366  A128                     syscall    RecoverHandle, flags=1
  317. 00000368  2F08                     move.l     -[A7], A0
  318. 0000036A  41FA FC78                lea.l      A0, [PC - 0x388 /* FFFFFFE4, cstring ""<EOF> */]
  319. 0000036E  A128                     syscall    RecoverHandle, flags=1
  320. label00000370:
  321. 00000370  2F08                     move.l     -[A7], A0
  322. 00000372  6100 0388                bsr        +0x38A /* 000006FC */
  323. 00000376  6754                     beq        +0x56 /* 000003CC */
  324. 00000378  362B 001A                move.w     D3, [A3 + 0x1A]
  325. 0000037C  0C43 FFFF                cmpi.w     D3, 0xFFFF
  326. 00000380  6604                     bne        +0x6 /* 00000386 */
  327. 00000382  619C                     bsr        -0x62 /* 00000320 */
  328. 00000384  6046                     bra        +0x48 /* 000003CC */
  329. label00000386:
  330. 00000386  0443 0040                subi.w     D3, 0x40 /* '@' */
  331. 0000038A  6B40                     bmi        +0x42 /* 000003CC */
  332. 0000038C  670C                     beq        +0xE /* 0000039A */
  333. 0000038E  594F                     subq.w     A7, 4
  334. 00000390  A924                     syscall    FrontWindow
  335. 00000392  201F                     move.l     D0, [A7]+
  336. 00000394  B0AC 001E                cmp.l      D0, [A4 + 0x1E]
  337. 00000398  6632                     bne        +0x34 /* 000003CC */
  338. label0000039A:
  339. 0000039A  7800                     moveq.l    D4, 0x00
  340. 0000039C  4A6A 000C                tst.w      [A2 + 0xC]
  341. 000003A0  6B04                     bmi        +0x6 /* 000003A6 */
  342. 000003A2  282A 006C                move.l     D4, [A2 + 0x6C]
  343. label000003A6:
  344. 000003A6  0C43 0002                cmpi.w     D3, 0x2
  345. 000003AA  6220                     bhi        +0x22 /* 000003CC */
  346. 000003AC  E343                     asl        D3.w, 1
  347. 000003AE  303B 3006                move.w     D0, [PC + D3.w + 0x6]
  348. 000003B2  4EFB 0002                jmp        [PC + D0.w + 0x2]
  349. 000003B6  004C 003C                ori.w      A4, 0x3C /* '<' */
  350. 000003BA  0340                     bchg       D0, D1
  351. 000003BC  0000 0000                ori.b      D0, 0x0
  352. 000003C0  0000 0000                ori.b      D0, 0x0
  353. 000003C4  0000 0000                ori.b      D0, 0x0
  354. 000003C8  0000 0000                ori.b      D0, 0x0
  355. label000003CC:
  356. 000003CC  6100 0366                bsr        +0x368 /* 00000734 */
  357. 000003D0  201F                     move.l     D0, [A7]+
  358. 000003D2  6708                     beq        +0xA /* 000003DC */
  359. 000003D4  2040                     movea.l    A0, D0
  360. 000003D6  A02A                     syscall    HUnlock
  361. 000003D8  205F                     movea.l    A0, [A7]+
  362. 000003DA  A02A                     syscall    HUnlock
  363. label000003DC:
  364. 000003DC  4CDF 1F3F                movem.l    D0,D1,D2,D3,D4,D5,A0,A1,A2,A3,A4, [A7]+
  365. 000003E0  4E5E                     unlink     A6
  366. 000003E2  0828 0001 0006           btst.b     [A0 + 0x6], 0x1
  367. 000003E8  6604                     bne        +0x6 /* 000003EE */
  368. 000003EA  2F38 08FC                move.l     -[A7], [0x000008FC /* JIODone */]
  369. label000003EE:
  370. 000003EE  7000                     moveq.l    D0, 0x00
  371. 000003F0  4E75                     rts
  372. 000003F2  4AAA 005E                tst.l      [A2 + 0x5E]
  373. 000003F6  6704                     beq        +0x6 /* 000003FC */
  374. 000003F8  6100 2150                bsr        +0x2152 /* 0000254A */
  375. label000003FC:
  376. 000003FC  6100 138A                bsr        +0x138C /* 00001788 */
  377. 00000400  6056                     bra        +0x58 /* 00000458 */
  378. 00000402  266B 001C                movea.l    A3, [A3 + 0x1C]
  379. 00000406  3A13                     move.w     D5, [A3]
  380. 00000408  0C45 0003                cmpi.w     D5, 0x3
  381. 0000040C  6708                     beq        +0xA /* 00000416 */
  382. 0000040E  0C45 0005                cmpi.w     D5, 0x5
  383. 00000412  6600 01EE                bne        +0x1F0 /* 00000602 */
  384. label00000416:
  385. 00000416  6100 1FB8                bsr        +0x1FBA /* 000023D0 */
  386. 0000041A  102B 0005                move.b     D0, [A3 + 0x5]
  387. 0000041E  0C00 000D                cmpi.b     D0, 0xD /* '\r' */
  388. 00000422  6708                     beq        +0xA /* 0000042C */
  389. 00000424  0C00 0003                cmpi.b     D0, 0x3
  390. 00000428  6600 0158                bne        +0x15A /* 00000582 */
  391. label0000042C:
  392. 0000042C  0804 001B                btst.b     D4, 0x1B
  393. 00000430  6726                     beq        +0x28 /* 00000458 */
  394. 00000432  082A 0003 0037           btst.b     [A2 + 0x37], 0x3
  395. 00000438  671E                     beq        +0x20 /* 00000458 */
  396. 0000043A  2F2A 0070                move.l     -[A7], [A2 + 0x70]
  397. 0000043E  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  398. 00000442  A95D                     syscall    HiliteControl
  399. 00000444  307C 0008                movea.w    A0, 0x8
  400. 00000448  A03B                     syscall    Delay
  401. 0000044A  2F2A 0070                move.l     -[A7], [A2 + 0x70]
  402. 0000044E  4267                     clr.w      -[A7]
  403. 00000450  A95D                     syscall    HiliteControl
  404. 00000452  7601                     moveq.l    D3, 0x01
  405. 00000454  6100 042C                bsr        +0x42E /* 00000882 */
  406. label00000458:
  407. 00000458  6108                     bsr        +0xA /* 00000462 */
  408. 0000045A  47FA FF60                lea.l      A3, [PC - 0xA0 /* 000003BC, value 0x0, cstring "" */]
  409. 0000045E  6000 0218                bra        +0x21A /* 00000678 */
  410. fn00000462:
  411. 00000462  082A 0006 0037           btst.b     [A2 + 0x37], 0x6
  412. 00000468  672C                     beq        +0x2E /* 00000496 */
  413. 0000046A  48E7 E0C0                movem.l    -[A7], D0,D1,D2,A0,A1
  414. 0000046E  554F                     subq.w     A7, 2
  415. 00000470  303C 0003                move.w     D0, 0x3
  416. 00000474  A830                     syscall    Pack14
  417. 00000476  4A1F                     tst.b      [A7]+
  418. 00000478  6718                     beq        +0x1A /* 00000492 */
  419. 0000047A  6100 26C2                bsr        +0x26C4 /* 00002B3E */
  420. 0000047E  72FF                     moveq.l    D1, 0xFFFFFFFF
  421. 00000480  6116                     bsr        +0x18 /* 00000498 */
  422. 00000482  615E                     bsr        +0x60 /* 000004E2 */
  423. 00000484  0C6A FFFF 000C           cmpi.w     [A2 + 0xC], 0xFFFF
  424. 0000048A  6706                     beq        +0x8 /* 00000492 */
  425. 0000048C  322A 000E                move.w     D1, [A2 + 0xE]
  426. 00000490  6106                     bsr        +0x8 /* 00000498 */
  427. label00000492:
  428. 00000492  4CDF 0307                movem.l    D0,D1,D2,A0,A1, [A7]+
  429. label00000496:
  430. 00000496  4E75                     rts
  431. fn00000498:
  432. 00000498  48E7 9010                movem.l    -[A7], D0,D3,A3
  433. 0000049C  206A 0004                movea.l    A0, [A2 + 0x4]
  434. 000004A0  2668 001E                movea.l    A3, [A0 + 0x1E]
  435. 000004A4  3628 0018                move.w     D3, [A0 + 0x18]
  436. 000004A8  377C 0002 006C           move.w     [A3 + 0x6C], 0x2
  437. 000004AE  554F                     subq.w     A7, 2
  438. 000004B0  3F00                     move.w     -[A7], D0
  439. 000004B2  3F01                     move.w     -[A7], D1
  440. 000004B4  2F3C 6864 6C67           move.l     -[A7], 0x68646C67 /* 'hdlg' */
  441. 000004BA  303C 0410                move.w     D0, 0x410
  442. 000004BE  A830                     syscall    Pack14
  443. 000004C0  4A5F                     tst.w      [A7]+
  444. 000004C2  3743 006C                move.w     [A3 + 0x6C], D3
  445. 000004C6  4CDF 0809                movem.l    D0,D3,A3, [A7]+
  446. 000004CA  4E75                     rts
  447. fn000004CC:
  448. 000004CC  2F2C 001E                move.l     -[A7], [A4 + 0x1E]
  449. 000004D0  3F00                     move.w     -[A7], D0
  450. 000004D2  486E FEEE                pea.l      [A6 - 0x112]
  451. 000004D6  486E FEEA                pea.l      [A6 - 0x116]
  452. 000004DA  486E FEE2                pea.l      [A6 - 0x11E]
  453. 000004DE  A98D                     syscall    GetDialogItem/GetDItem
  454. 000004E0  4E75                     rts
  455. fn000004E2:
  456. 000004E2  3F00                     move.w     -[A7], D0
  457. 000004E4  4E56 FEE2                link       A6, -0x011E
  458. 000004E8  7006                     moveq.l    D0, 0x06
  459. 000004EA  61E0                     bsr        -0x1E /* 000004CC */
  460. 000004EC  486E FEF0                pea.l      [A6 - 0x110]
  461. 000004F0  A972                     syscall    GetMouse
  462. 000004F2  4267                     clr.w      -[A7]
  463. 000004F4  2F2E FEF0                move.l     -[A7], [A6 - 0x110]
  464. 000004F8  486E FEE2                pea.l      [A6 - 0x11E]
  465. 000004FC  A8AD                     syscall    PtInRect
  466. 000004FE  101F                     move.b     D0, [A7]+
  467. 00000500  6774                     beq        +0x76 /* 00000576 */
  468. 00000502  082A 0007 0037           btst.b     [A2 + 0x37], 0x7
  469. 00000508  6672                     bne        +0x74 /* 0000057C */
  470. 0000050A  6100 2632                bsr        +0x2634 /* 00002B3E */
  471. 0000050E  5240                     addq.w     D0, 1
  472. 00000510  7203                     moveq.l    D1, 0x03
  473. 00000512  082A 0002 0037           btst.b     [A2 + 0x37], 0x2
  474. 00000518  6702                     beq        +0x4 /* 0000051C */
  475. 0000051A  7204                     moveq.l    D1, 0x04
  476. label0000051C:
  477. 0000051C  41EE FEFC                lea.l      A0, [A6 - 0x104]
  478. 00000520  30BC 0003                move.w     [A0], 0x3
  479. 00000524  3140 0002                move.w     [A0 + 0x2], D0
  480. 00000528  3141 0004                move.w     [A0 + 0x4], D1
  481. 0000052C  202E FEE6                move.l     D0, [A6 - 0x11A]
  482. 00000530  2D40 FEF4                move.l     [A6 - 0x10C], D0
  483. 00000534  516E FEF4                subq.w     [A6 - 0x10C], 8
  484. 00000538  516E FEF6                subq.w     [A6 - 0x10A], 8
  485. 0000053C  486E FEF4                pea.l      [A6 - 0x10C]
  486. 00000540  A870                     syscall    LocalToGlobal
  487. 00000542  486E FEE2                pea.l      [A6 - 0x11E]
  488. 00000546  A870                     syscall    LocalToGlobal
  489. 00000548  486E FEE6                pea.l      [A6 - 0x11A]
  490. 0000054C  A870                     syscall    LocalToGlobal
  491. 0000054E  554F                     subq.w     A7, 2
  492. 00000550  486E FEFC                pea.l      [A6 - 0x104]
  493. 00000554  2F2E FEF4                move.l     -[A7], [A6 - 0x10C]
  494. 00000558  486E FEE2                pea.l      [A6 - 0x11E]
  495. 0000055C  7000                     moveq.l    D0, 0x00
  496. 0000055E  2F00                     move.l     -[A7], D0
  497. 00000560  2F00                     move.l     -[A7], D0
  498. 00000562  3F00                     move.w     -[A7], D0
  499. 00000564  303C 0B01                move.w     D0, 0xB01
  500. 00000568  A830                     syscall    Pack14
  501. 0000056A  4A5F                     tst.w      [A7]+
  502. 0000056C  6608                     bne        +0xA /* 00000576 */
  503. 0000056E  08EA 0007 0037           bset.b     [A2 + 0x37], 0x7
  504. 00000574  6006                     bra        +0x8 /* 0000057C */
  505. label00000576:
  506. 00000576  08AA 0007 0037           bclr.b     [A2 + 0x37], 0x7
  507. label0000057C:
  508. 0000057C  4E5E                     unlink     A6
  509. 0000057E  301F                     move.w     D0, [A7]+
  510. 00000580  4E75                     rts
  511. label00000582:
  512. 00000582  082B 0008 000E           btst.b     [A3 + 0xE], 0x8
  513. 00000588  670A                     beq        +0xC /* 00000594 */
  514. 0000058A  3F3C 0001                move.w     -[A7], 0x1
  515. 0000058E  A9C8                     syscall    SysBeep
  516. 00000590  6000 FEC6                bra        -0x138 /* 00000458 */
  517. label00000594:
  518. 00000594  102B 0005                move.b     D0, [A3 + 0x5]
  519. 00000598  0C00 0009                cmpi.b     D0, 0x9 /* '\t' */
  520. 0000059C  665C                     bne        +0x5E /* 000005FA */
  521. 0000059E  6100 1A52                bsr        +0x1A54 /* 00001FF2 */
  522. 000005A2  082B 0009 000E           btst.b     [A3 + 0xE], 0x9 /* '\t' */
  523. 000005A8  6628                     bne        +0x2A /* 000005D2 */
  524. 000005AA  202A 00C8                move.l     D0, [A2 + 0xC8]
  525. 000005AE  B0AA 0008                cmp.l      D0, [A2 + 0x8]
  526. 000005B2  6608                     bne        +0xA /* 000005BC */
  527. 000005B4  6100 1D84                bsr        +0x1D86 /* 0000233A */
  528. 000005B8  6000 FE12                bra        -0x1EC /* 000003CC */
  529. label000005BC:
  530. 000005BC  B0AA 0064                cmp.l      D0, [A2 + 0x64]
  531. 000005C0  6608                     bne        +0xA /* 000005CA */
  532. 000005C2  6100 1D7C                bsr        +0x1D7E /* 00002340 */
  533. 000005C6  6000 FE04                bra        -0x1FA /* 000003CC */
  534. label000005CA:
  535. 000005CA  6100 1D7A                bsr        +0x1D7C /* 00002346 */
  536. 000005CE  6000 FDFC                bra        -0x202 /* 000003CC */
  537. label000005D2:
  538. 000005D2  202A 00C8                move.l     D0, [A2 + 0xC8]
  539. 000005D6  B0AA 0008                cmp.l      D0, [A2 + 0x8]
  540. 000005DA  6608                     bne        +0xA /* 000005E4 */
  541. 000005DC  6100 1D4E                bsr        +0x1D50 /* 0000232C */
  542. 000005E0  6000 FDEA                bra        -0x214 /* 000003CC */
  543. label000005E4:
  544. 000005E4  B0AA 0064                cmp.l      D0, [A2 + 0x64]
  545. 000005E8  6608                     bne        +0xA /* 000005F2 */
  546. 000005EA  6100 1D3A                bsr        +0x1D3C /* 00002326 */
  547. 000005EE  6000 FDDC                bra        -0x222 /* 000003CC */
  548. label000005F2:
  549. 000005F2  6100 1D3E                bsr        +0x1D40 /* 00002332 */
  550. 000005F6  6000 FDD4                bra        -0x22A /* 000003CC */
  551. label000005FA:
  552. 000005FA  222B 0006                move.l     D1, [A3 + 0x6]
  553. 000005FE  6000 1A5E                bra        +0x1A60 /* 0000205E */
  554. label00000602:
  555. 00000602  0C45 0008                cmpi.w     D5, 0x8
  556. 00000606  6670                     bne        +0x72 /* 00000678 */
  557. 00000608  082B 0000 000F           btst.b     [A3 + 0xF], 0x0
  558. 0000060E  6746                     beq        +0x48 /* 00000656 */
  559. 00000610  6100 113C                bsr        +0x113E /* 0000174E */
  560. 00000614  6100 1324                bsr        +0x1326 /* 0000193A */
  561. 00000618  6100 1944                bsr        +0x1946 /* 00001F5E */
  562. 0000061C  6100 1D5E                bsr        +0x1D60 /* 0000237C */
  563. 00000620  08EC 0005 0004           bset.b     [A4 + 0x4], 0x5
  564. 00000626  6100 2874                bsr        +0x2876 /* 00002E9C */
  565. 0000062A  206A 0010                movea.l    A0, [A2 + 0x10]
  566. 0000062E  A029                     syscall    HLock
  567. 00000630  554F                     subq.w     A7, 2
  568. 00000632  2F10                     move.l     -[A7], [A0]
  569. 00000634  A997                     syscall    OpenResFile
  570. 00000636  355F 0014                move.w     [A2 + 0x14], [A7]+
  571. 0000063A  206A 0010                movea.l    A0, [A2 + 0x10]
  572. 0000063E  A02A                     syscall    HUnlock
  573. 00000640  2F0B                     move.l     -[A7], A3
  574. 00000642  302A 000C                move.w     D0, [A2 + 0xC]
  575. 00000646  6100 2840                bsr        +0x2842 /* 00002E88 */
  576. 0000064A  302A 000C                move.w     D0, [A2 + 0xC]
  577. 0000064E  6100 0DE8                bsr        +0xDEA /* 00001438 */
  578. 00000652  265F                     movea.l    A3, [A7]+
  579. 00000654  6022                     bra        +0x24 /* 00000678 */
  580. label00000656:
  581. 00000656  202A 0008                move.l     D0, [A2 + 0x8]
  582. 0000065A  6100 191A                bsr        +0x191C /* 00001F76 */
  583. 0000065E  202A 0068                move.l     D0, [A2 + 0x68]
  584. 00000662  6100 1912                bsr        +0x1914 /* 00001F76 */
  585. 00000666  202A 0064                move.l     D0, [A2 + 0x64]
  586. 0000066A  6100 190A                bsr        +0x190C /* 00001F76 */
  587. 0000066E  6100 1D06                bsr        +0x1D08 /* 00002376 */
  588. 00000672  08AC 0005 0004           bclr.b     [A4 + 0x4], 0x5
  589. label00000678:
  590. 00000678  0C45 0006                cmpi.w     D5, 0x6
  591. 0000067C  6604                     bne        +0x6 /* 00000682 */
  592. 0000067E  6100 2350                bsr        +0x2352 /* 000029D0 */
  593. label00000682:
  594. 00000682  594F                     subq.w     A7, 4
  595. 00000684  204F                     movea.l    A0, A7
  596. 00000686  554F                     subq.w     A7, 2
  597. 00000688  224F                     movea.l    A1, A7
  598. 0000068A  554F                     subq.w     A7, 2
  599. 0000068C  2F0B                     move.l     -[A7], A3
  600. 0000068E  2F08                     move.l     -[A7], A0
  601. 00000690  2F09                     move.l     -[A7], A1
  602. 00000692  A980                     syscall    DialogSelect
  603. 00000694  101F                     move.b     D0, [A7]+
  604. 00000696  361F                     move.w     D3, [A7]+
  605. 00000698  205F                     movea.l    A0, [A7]+
  606. 0000069A  4A00                     tst.b      D0
  607. 0000069C  6720                     beq        +0x22 /* 000006BE */
  608. 0000069E  0C45 0001                cmpi.w     D5, 0x1
  609. 000006A2  661A                     bne        +0x1C /* 000006BE */
  610. 000006A4  6100 1D2A                bsr        +0x1D2C /* 000023D0 */
  611. 000006A8  3003                     move.w     D0, D3
  612. 000006AA  5340                     subq.w     D0, 1
  613. 000006AC  0C40 000A                cmpi.w     D0, 0xA /* '\n' */
  614. 000006B0  620C                     bhi        +0xE /* 000006BE */
  615. 000006B2  E340                     asl        D0.w, 1
  616. 000006B4  303B 000C                move.w     D0, [PC + D0.w + 0xC]
  617. 000006B8  6704                     beq        +0x6 /* 000006BE */
  618. 000006BA  4EBB 0006                jsr        [PC + D0.w + 0x6]
  619. label000006BE:
  620. 000006BE  6000 FD0C                bra        -0x2F2 /* 000003CC */
  621. 000006C2  01C0                     .incomplete
  622. 000006C4  01C0                     .incomplete
  623. 000006C6  01C0                     .incomplete
  624. 000006C8  01C0                     .incomplete
  625. 000006CA  0000 0126                ori.b      D0, 0x26 /* '&' */
  626. 000006CE  0150                     bchg       [A0], D0
  627. 000006D0  013E                     btst       <<invalid special address>>, D0
  628. 000006D2  05EE                     .incomplete
  629. 000006D4  05EE                     .incomplete
  630. 000006D6  07B0 7004                bclr       [A0 + D7.w + 0x4], D3
  631. // begin alternate branch 000006D8-000006DA
  632. fn000006D8:
  633. 000006D8  7004                     moveq.l    D0, 0x04
  634. // end alternate branch 000006D8-000006DA
  635. fn000006D8: // (misaligned)
  636. 000006DA  594F                     subq.w     A7, 4
  637. 000006DC  3F00                     move.w     -[A7], D0
  638. 000006DE  A9B9                     syscall    GetCursor
  639. 000006E0  201F                     move.l     D0, [A7]+
  640. 000006E2  6602                     bne        +0x4 /* 000006E6 */
  641. 000006E4  4E75                     rts
  642. label000006E6:
  643. 000006E6  2040                     movea.l    A0, D0
  644. 000006E8  2F10                     move.l     -[A7], [A0]
  645. 000006EA  6006                     bra        +0x8 /* 000006F2 */
  646. fn000006EC:
  647. 000006EC  2055                     movea.l    A0, [A5]
  648. 000006EE  4868 FF94                pea.l      [A0 - 0x6C]
  649. label000006F2:
  650. 000006F2  A851                     syscall    SetCursor
  651. 000006F4  4E75                     rts
  652. 000006F6  61F4                     bsr        -0xA /* 000006EC */
  653. 000006F8  6000 FCD2                bra        -0x32C /* 000003CC */
  654. fn000006FC:
  655. 000006FC  241F                     move.l     D2, [A7]+
  656. 000006FE  594F                     subq.w     A7, 4
  657. 00000700  2F0F                     move.l     -[A7], A7
  658. 00000702  A874                     syscall    GetPort
  659. 00000704  6170                     bsr        +0x72 /* 00000776 */
  660. 00000706  202C 0014                move.l     D0, [A4 + 0x14]
  661. 0000070A  6724                     beq        +0x26 /* 00000730 */
  662. 0000070C  2040                     movea.l    A0, D0
  663. 0000070E  A069                     syscall    HGetState
  664. 00000710  1F00                     move.b     -[A7], D0
  665. 00000712  A029                     syscall    HLock
  666. 00000714  2450                     movea.l    A2, [A0]
  667. 00000716  522A 0059                addq.b     [A2 + 0x59], 1
  668. 0000071A  254C 0004                move.l     [A2 + 0x4], A4
  669. 0000071E  3F12                     move.w     -[A7], [A2]
  670. 00000720  3F2A 0002                move.w     -[A7], [A2 + 0x2]
  671. 00000724  6134                     bsr        +0x36 /* 0000075A */
  672. 00000726  2F2C 001E                move.l     -[A7], [A4 + 0x1E]
  673. 0000072A  A873                     syscall    SetPort
  674. 0000072C  303C 0001                move.w     D0, 0x1
  675. label00000730:
  676. 00000730  2042                     movea.l    A0, D2
  677. 00000732  4ED0                     jmp        [A0]
  678. fn00000734:
  679. 00000734  241F                     move.l     D2, [A7]+
  680. 00000736  4AAC 0014                tst.l      [A4 + 0x14]
  681. 0000073A  6716                     beq        +0x18 /* 00000752 */
  682. 0000073C  6138                     bsr        +0x3A /* 00000776 */
  683. 0000073E  206C 0014                movea.l    A0, [A4 + 0x14]
  684. 00000742  2450                     movea.l    A2, [A0]
  685. 00000744  355F 0002                move.w     [A2 + 0x2], [A7]+
  686. 00000748  349F                     move.w     [A2], [A7]+
  687. 0000074A  532A 0059                subq.b     [A2 + 0x59], 1
  688. 0000074E  101F                     move.b     D0, [A7]+
  689. 00000750  A06A                     syscall    HSetState
  690. label00000752:
  691. 00000752  6106                     bsr        +0x8 /* 0000075A */
  692. 00000754  A873                     syscall    SetPort
  693. 00000756  2042                     movea.l    A0, D2
  694. 00000758  4ED0                     jmp        [A0]
  695. fn0000075A:
  696. 0000075A  225F                     movea.l    A1, [A7]+
  697. 0000075C  321F                     move.w     D1, [A7]+
  698. 0000075E  9EFC 0040                sub.w      A7, 0x40 /* '@' */
  699. 00000762  204F                     movea.l    A0, A7
  700. 00000764  42A8 0012                clr.l      [A0 + 0x12]
  701. 00000768  3141 0016                move.w     [A0 + 0x16], D1
  702. 0000076C  A015                     syscall    SetVol/PBHSetVol/HSetVol
  703. 0000076E  4FEF 0040                lea.l      A7, [A7 + 0x40]
  704. 00000772  A998                     syscall    UseResFile
  705. 00000774  4ED1                     jmp        [A1]
  706. fn00000776:
  707. 00000776  225F                     movea.l    A1, [A7]+
  708. 00000778  554F                     subq.w     A7, 2
  709. 0000077A  A994                     syscall    CurResFile
  710. 0000077C  9EFC 0040                sub.w      A7, 0x40 /* '@' */
  711. 00000780  204F                     movea.l    A0, A7
  712. 00000782  42A8 0012                clr.l      [A0 + 0x12]
  713. 00000786  A014                     syscall    GetVol/PBHGetVol/HGetVol
  714. 00000788  3228 0016                move.w     D1, [A0 + 0x16]
  715. 0000078C  4FEF 0040                lea.l      A7, [A7 + 0x40]
  716. 00000790  3F01                     move.w     -[A7], D1
  717. 00000792  4ED1                     jmp        [A1]
  718. fn00000794:
  719. 00000794  48E7 FFFC                movem.l    -[A7], D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4,A5
  720. 00000798  0838 0000 0207           btst.b     [0x00000207 /* SPPrint */], 0x0
  721. 0000079E  6742                     beq        +0x44 /* 000007E2 */
  722. 000007A0  6100 2C0A                bsr        +0x2C0C /* 000033AC */
  723. 000007A4  4A40                     tst.w      D0
  724. 000007A6  673A                     beq        +0x3C /* 000007E2 */
  725. 000007A8  303C 001A                move.w     D0, 0x1A
  726. 000007AC  72FF                     moveq.l    D1, 0xFFFFFFFF
  727. 000007AE  7403                     moveq.l    D2, 0x03
  728. 000007B0  6100 23CC                bsr        +0x23CE /* 00002B7E */
  729. 000007B4  0C40 0001                cmpi.w     D0, 0x1
  730. 000007B8  6728                     beq        +0x2A /* 000007E2 */
  731. 000007BA  6100 2C16                bsr        +0x2C18 /* 000033D2 */
  732. 000007BE  6100 237E                bsr        +0x2380 /* 00002B3E */
  733. 000007C2  0640 8100                addi.w     D0, 0x8100
  734. 000007C6  3F00                     move.w     -[A7], D0
  735. 000007C8  A9BB                     syscall    GetIcon
  736. 000007CA  2F0F                     move.l     -[A7], A7
  737. 000007CC  3F3C 0004                move.w     -[A7], 0x4
  738. 000007D0  2F3C 0001 0000           move.l     -[A7], 0x10000
  739. 000007D6  266A 0008                movea.l    A3, [A2 + 0x8]
  740. 000007DA  2F0B                     move.l     -[A7], A3
  741. 000007DC  3F3C 0058                move.w     -[A7], 0x58 /* 'X' */
  742. 000007E0  A9E7                     syscall    Pack0/ListManager
  743. label000007E2:
  744. 000007E2  4CDF 3FFF                movem.l    D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4,A5, [A7]+
  745. 000007E6  4E75                     rts
  746. 000007E8  202A 0008                move.l     D0, [A2 + 0x8]
  747. 000007EC  6710                     beq        +0x12 /* 000007FE */
  748. 000007EE  6134                     bsr        +0x36 /* 00000824 */
  749. 000007F0  4A2A 0080                tst.b      [A2 + 0x80]
  750. 000007F4  6604                     bne        +0x6 /* 000007FA */
  751. 000007F6  B280                     cmp.l      D1, D0
  752. 000007F8  6704                     beq        +0x6 /* 000007FE */
  753. label000007FA:
  754. 000007FA  6100 00CE                bsr        +0xD0 /* 000008CA */
  755. label000007FE:
  756. 000007FE  4E75                     rts
  757. 00000800  202A 0064                move.l     D0, [A2 + 0x64]
  758. 00000804  670A                     beq        +0xC /* 00000810 */
  759. 00000806  611C                     bsr        +0x1E /* 00000824 */
  760. 00000808  615A                     bsr        +0x5C /* 00000864 */
  761. 0000080A  6B04                     bmi        +0x6 /* 00000810 */
  762. 0000080C  6100 0156                bsr        +0x158 /* 00000964 */
  763. label00000810:
  764. 00000810  4E75                     rts
  765. 00000812  202A 0068                move.l     D0, [A2 + 0x68]
  766. 00000816  670A                     beq        +0xC /* 00000822 */
  767. 00000818  610A                     bsr        +0xC /* 00000824 */
  768. 0000081A  6148                     bsr        +0x4A /* 00000864 */
  769. 0000081C  6B04                     bmi        +0x6 /* 00000822 */
  770. 0000081E  6100 01F0                bsr        +0x1F2 /* 00000A10 */
  771. label00000822:
  772. 00000822  4E75                     rts
  773. fn00000824:
  774. 00000824  48E7 0208                movem.l    -[A7], D6,A4
  775. 00000828  2840                     movea.l    A4, D0
  776. 0000082A  204C                     movea.l    A0, A4
  777. 0000082C  6100 1A56                bsr        +0x1A58 /* 00002284 */
  778. 00000830  2C00                     move.l     D6, D0
  779. 00000832  200C                     move.l     D0, A4
  780. 00000834  6100 1B18                bsr        +0x1B1A /* 0000234E */
  781. 00000838  486B 000A                pea.l      [A3 + 0xA]
  782. 0000083C  A871                     syscall    GlobalToLocal
  783. 0000083E  554F                     subq.w     A7, 2
  784. 00000840  2F2B 000A                move.l     -[A7], [A3 + 0xA]
  785. 00000844  3F2B 000E                move.w     -[A7], [A3 + 0xE]
  786. 00000848  2F0C                     move.l     -[A7], A4
  787. 0000084A  3F3C 0018                move.w     -[A7], 0x18
  788. 0000084E  A9E7                     syscall    Pack0/ListManager
  789. 00000850  155F 0080                move.b     [A2 + 0x80], [A7]+
  790. 00000854  204C                     movea.l    A0, A4
  791. 00000856  6100 1A2C                bsr        +0x1A2E /* 00002284 */
  792. 0000085A  2206                     move.l     D1, D6
  793. 0000085C  204C                     movea.l    A0, A4
  794. 0000085E  4CDF 1040                movem.l    D6,A4, [A7]+
  795. 00000862  4E75                     rts
  796. fn00000864:
  797. 00000864  B280                     cmp.l      D1, D0
  798. 00000866  6712                     beq        +0x14 /* 0000087A */
  799. 00000868  4A80                     tst.l      D0
  800. 0000086A  6C12                     bge        +0x14 /* 0000087E */
  801. 0000086C  1F3C 0001                move.b     -[A7], 0x1
  802. 00000870  2F01                     move.l     -[A7], D1
  803. 00000872  2F08                     move.l     -[A7], A0
  804. 00000874  3F3C 005C                move.w     -[A7], 0x5C /* '\\' */
  805. 00000878  A9E7                     syscall    Pack0/ListManager
  806. label0000087A:
  807. 0000087A  74FF                     moveq.l    D2, 0xFFFFFFFF
  808. 0000087C  4E75                     rts
  809. label0000087E:
  810. 0000087E  7400                     moveq.l    D2, 0x00
  811. 00000880  4E75                     rts
  812. fn00000882:
  813. 00000882  6100 1C74                bsr        +0x1C76 /* 000024F8 */
  814. 00000886  7013                     moveq.l    D0, 0x13
  815. 00000888  7200                     moveq.l    D1, 0x00
  816. 0000088A  322B 000E                move.w     D1, [A3 + 0xE]
  817. 0000088E  4841                     swap.w     D1
  818. 00000890  1203                     move.b     D1, D3
  819. 00000892  6100 244E                bsr        +0x2450 /* 00002CE2 */
  820. fn00000896:
  821. 00000896  08AA 0003 0037           bclr.b     [A2 + 0x37], 0x3
  822. 0000089C  206A 0008                movea.l    A0, [A2 + 0x8]
  823. 000008A0  6100 19E2                bsr        +0x19E4 /* 00002284 */
  824. 000008A4  6B0A                     bmi        +0xC /* 000008B0 */
  825. 000008A6  08EA 0003 0037           bset.b     [A2 + 0x37], 0x3
  826. 000008AC  7000                     moveq.l    D0, 0x00
  827. 000008AE  6004                     bra        +0x6 /* 000008B4 */
  828. label000008B0:
  829. 000008B0  303C 00FF                move.w     D0, 0xFF
  830. label000008B4:
  831. 000008B4  2F2A 0070                move.l     -[A7], [A2 + 0x70]
  832. 000008B8  3F00                     move.w     -[A7], D0
  833. 000008BA  A95D                     syscall    HiliteControl
  834. 000008BC  2F2C 001E                move.l     -[A7], [A4 + 0x1E]
  835. 000008C0  3F3C 0010                move.w     -[A7], 0x10
  836. 000008C4  6100 11A6                bsr        +0x11A8 /* 00001A6C */
  837. 000008C8  4E75                     rts
  838. fn000008CA:
  839. 000008CA  48E7 0600                movem.l    -[A7], D5,D6
  840. 000008CE  2A00                     move.l     D5, D0
  841. 000008D0  2C01                     move.l     D6, D1
  842. 000008D2  082A 0002 0037           btst.b     [A2 + 0x37], 0x2
  843. 000008D8  670A                     beq        +0xC /* 000008E4 */
  844. 000008DA  4845                     swap.w     D5
  845. 000008DC  3005                     move.w     D0, D5
  846. 000008DE  6100 021C                bsr        +0x21E /* 00000AFC */
  847. 000008E2  607A                     bra        +0x7C /* 0000095E */
  848. label000008E4:
  849. 000008E4  0804 001C                btst.b     D4, 0x1C
  850. 000008E8  670E                     beq        +0x10 /* 000008F8 */
  851. 000008EA  6100 1C0C                bsr        +0x1C0E /* 000024F8 */
  852. 000008EE  700C                     moveq.l    D0, 0x0C
  853. 000008F0  6100 2418                bsr        +0x241A /* 00002D0A */
  854. 000008F4  6746                     beq        +0x48 /* 0000093C */
  855. 000008F6  6048                     bra        +0x4A /* 00000940 */
  856. label000008F8:
  857. 000008F8  6100 1BFE                bsr        +0x1C00 /* 000024F8 */
  858. 000008FC  4841                     swap.w     D1
  859. 000008FE  4A41                     tst.w      D1
  860. 00000900  6B1A                     bmi        +0x1C /* 0000091C */
  861. 00000902  7010                     moveq.l    D0, 0x10
  862. 00000904  6100 015C                bsr        +0x15E /* 00000A62 */
  863. 00000908  6712                     beq        +0x14 /* 0000091C */
  864. 0000090A  1F3C 0001                move.b     -[A7], 0x1
  865. 0000090E  2F06                     move.l     -[A7], D6
  866. 00000910  2F2A 0008                move.l     -[A7], [A2 + 0x8]
  867. 00000914  3F3C 005C                move.w     -[A7], 0x5C /* '\\' */
  868. 00000918  A9E7                     syscall    Pack0/ListManager
  869. 0000091A  6020                     bra        +0x22 /* 0000093C */
  870. label0000091C:
  871. 0000091C  4A85                     tst.l      D5
  872. 0000091E  6B20                     bmi        +0x22 /* 00000940 */
  873. 00000920  2205                     move.l     D1, D5
  874. 00000922  4841                     swap.w     D1
  875. 00000924  700F                     moveq.l    D0, 0x0F
  876. 00000926  6100 013A                bsr        +0x13C /* 00000A62 */
  877. 0000092A  6710                     beq        +0x12 /* 0000093C */
  878. 0000092C  4227                     clr.b      -[A7]
  879. 0000092E  2F05                     move.l     -[A7], D5
  880. 00000930  2F2A 0008                move.l     -[A7], [A2 + 0x8]
  881. 00000934  3F3C 005C                move.w     -[A7], 0x5C /* '\\' */
  882. 00000938  A9E7                     syscall    Pack0/ListManager
  883. 0000093A  6004                     bra        +0x6 /* 00000940 */
  884. label0000093C:
  885. 0000093C  6100 201C                bsr        +0x201E /* 0000295A */
  886. label00000940:
  887. 00000940  6100 FF54                bsr        -0xAA /* 00000896 */
  888. 00000944  4A2A 0080                tst.b      [A2 + 0x80]
  889. 00000948  6714                     beq        +0x16 /* 0000095E */
  890. 0000094A  0804 001B                btst.b     D4, 0x1B
  891. 0000094E  670E                     beq        +0x10 /* 0000095E */
  892. 00000950  082A 0003 0037           btst.b     [A2 + 0x37], 0x3
  893. 00000956  6706                     beq        +0x8 /* 0000095E */
  894. 00000958  7601                     moveq.l    D3, 0x01
  895. 0000095A  6100 FF26                bsr        -0xD8 /* 00000882 */
  896. label0000095E:
  897. 0000095E  4CDF 0060                movem.l    D5,D6, [A7]+
  898. 00000962  4E75                     rts
  899. fn00000964:
  900. 00000964  48E7 1E00                movem.l    -[A7], D3,D4,D5,D6
  901. 00000968  2A00                     move.l     D5, D0
  902. 0000096A  2C01                     move.l     D6, D1
  903. 0000096C  E248                     lsr        D0.w, 1
  904. 0000096E  4840                     swap.w     D0
  905. 00000970  E350                     roxl       D0.w, 1
  906. 00000972  3600                     move.w     D3, D0
  907. 00000974  6100 2512                bsr        +0x2514 /* 00002E88 */
  908. 00000978  0C53 5052                cmpi.w     [A3], 0x5052 /* 'PR' */
  909. 0000097C  662C                     bne        +0x2E /* 000009AA */
  910. 0000097E  0C93 5052 4553           cmpi.l     [A3], 0x50524553 /* 'PRES' */
  911. 00000984  6618                     bne        +0x1A /* 0000099E */
  912. 00000986  4240                     clr.w      D0
  913. 00000988  6100 0112                bsr        +0x114 /* 00000A9C */
  914. 0000098C  6610                     bne        +0x12 /* 0000099E */
  915. 0000098E  303C 0001                move.w     D0, 0x1
  916. 00000992  6100 0108                bsr        +0x10A /* 00000A9C */
  917. 00000996  6606                     bne        +0x8 /* 0000099E */
  918. 00000998  303C 001C                move.w     D0, 0x1C
  919. 0000099C  6016                     bra        +0x18 /* 000009B4 */
  920. label0000099E:
  921. 0000099E  0838 0007 0946           btst.b     [0x00000946 /* ChooserBits */], 0x7
  922. 000009A4  6604                     bne        +0x6 /* 000009AA */
  923. 000009A6  7001                     moveq.l    D0, 0x01
  924. 000009A8  600A                     bra        +0xC /* 000009B4 */
  925. label000009AA:
  926. 000009AA  0C84 0000 0001           cmpi.l     D4, 0x1
  927. 000009B0  662C                     bne        +0x2E /* 000009DE */
  928. 000009B2  7004                     moveq.l    D0, 0x04
  929. label000009B4:
  930. 000009B4  3203                     move.w     D1, D3
  931. 000009B6  6100 21C4                bsr        +0x21C6 /* 00002B7C */
  932. label000009BA:
  933. 000009BA  4227                     clr.b      -[A7]
  934. 000009BC  2F05                     move.l     -[A7], D5
  935. 000009BE  2F2A 0064                move.l     -[A7], [A2 + 0x64]
  936. 000009C2  3F3C 005C                move.w     -[A7], 0x5C /* '\\' */
  937. 000009C6  A9E7                     syscall    Pack0/ListManager
  938. 000009C8  4A86                     tst.l      D6
  939. 000009CA  6B3E                     bmi        +0x40 /* 00000A0A */
  940. 000009CC  1F3C 0001                move.b     -[A7], 0x1
  941. 000009D0  2F06                     move.l     -[A7], D6
  942. 000009D2  2F2A 0064                move.l     -[A7], [A2 + 0x64]
  943. 000009D6  3F3C 005C                move.w     -[A7], 0x5C /* '\\' */
  944. 000009DA  A9E7                     syscall    Pack0/ListManager
  945. 000009DC  602C                     bra        +0x2E /* 00000A0A */
  946. label000009DE:
  947. 000009DE  0804 001F                btst.b     D4, 0x1F
  948. 000009E2  6714                     beq        +0x16 /* 000009F8 */
  949. 000009E4  082A 0000 0037           btst.b     [A2 + 0x37], 0x0
  950. 000009EA  660C                     bne        +0xE /* 000009F8 */
  951. 000009EC  3203                     move.w     D1, D3
  952. 000009EE  6100 01F8                bsr        +0x1FA /* 00000BE8 */
  953. 000009F2  66C6                     bne        -0x38 /* 000009BA */
  954. 000009F4  6100 02DA                bsr        +0x2DC /* 00000CD0 */
  955. label000009F8:
  956. 000009F8  6100 FCDE                bsr        -0x320 /* 000006D8 */
  957. 000009FC  6100 0CD2                bsr        +0xCD4 /* 000016D0 */
  958. 00000A00  3003                     move.w     D0, D3
  959. 00000A02  6100 0A34                bsr        +0xA36 /* 00001438 */
  960. 00000A06  6100 FCE4                bsr        -0x31A /* 000006EC */
  961. label00000A0A:
  962. 00000A0A  4CDF 0078                movem.l    D3,D4,D5,D6, [A7]+
  963. 00000A0E  4E75                     rts
  964. fn00000A10:
  965. 00000A10  4E56 FFDC                link       A6, -0x0024
  966. 00000A14  3F07                     move.w     -[A7], D7
  967. 00000A16  3D7C 0020 FFFE           move.w     [A6 - 0x2], 0x20 /* ' ' */
  968. 00000A1C  486E FFDC                pea.l      [A6 - 0x24]
  969. 00000A20  486E FFFE                pea.l      [A6 - 0x2]
  970. 00000A24  2F00                     move.l     -[A7], D0
  971. 00000A26  2F2A 0068                move.l     -[A7], [A2 + 0x68]
  972. 00000A2A  3F3C 0038                move.w     -[A7], 0x38 /* '8' */
  973. 00000A2E  A9E7                     syscall    Pack0/ListManager
  974. 00000A30  51C7                     sf         D7
  975. 00000A32  4A6A 000C                tst.w      [A2 + 0xC]
  976. 00000A36  6B0C                     bmi        +0xE /* 00000A44 */
  977. 00000A38  0804 001F                btst.b     D4, 0x1F
  978. 00000A3C  6706                     beq        +0x8 /* 00000A44 */
  979. 00000A3E  50C7                     st         D7
  980. 00000A40  6100 0C7C                bsr        +0xC7E /* 000016BE */
  981. label00000A44:
  982. 00000A44  41EE FFDC                lea.l      A0, [A6 - 0x24]
  983. 00000A48  302E FFFE                move.w     D0, [A6 - 0x2]
  984. 00000A4C  6100 1E4A                bsr        +0x1E4C /* 00002898 */
  985. 00000A50  4A07                     tst.b      D7
  986. 00000A52  6708                     beq        +0xA /* 00000A5C */
  987. 00000A54  6100 11C4                bsr        +0x11C6 /* 00001C1A */
  988. 00000A58  6100 FC92                bsr        -0x36C /* 000006EC */
  989. label00000A5C:
  990. 00000A5C  3E1F                     move.w     D7, [A7]+
  991. 00000A5E  4E5E                     unlink     A6
  992. 00000A60  4E75                     rts
  993. fn00000A62:
  994. 00000A62  0804 000F                btst.b     D4, 0xF
  995. 00000A66  670C                     beq        +0xE /* 00000A74 */
  996. 00000A68  4841                     swap.w     D1
  997. 00000A6A  4241                     clr.w      D1
  998. 00000A6C  4841                     swap.w     D1
  999. 00000A6E  6100 229C                bsr        +0x229E /* 00002D0C */
  1000. 00000A72  6024                     bra        +0x26 /* 00000A98 */
  1001. label00000A74:
  1002. 00000A74  4E56 FEFA                link       A6, -0x0106
  1003. 00000A78  3F07                     move.w     -[A7], D7
  1004. 00000A7A  3E00                     move.w     D7, D0
  1005. 00000A7C  3001                     move.w     D0, D1
  1006. 00000A7E  41EE FEFA                lea.l      A0, [A6 - 0x106]
  1007. 00000A82  6100 221A                bsr        +0x221C /* 00002C9E */
  1008. 00000A86  3007                     move.w     D0, D7
  1009. 00000A88  222E FFFA                move.l     D1, [A6 - 0x6]
  1010. 00000A8C  41EE FEFA                lea.l      A0, [A6 - 0x106]
  1011. 00000A90  6100 227C                bsr        +0x227E /* 00002D0E */
  1012. 00000A94  3E1F                     move.w     D7, [A7]+
  1013. 00000A96  4E5E                     unlink     A6
  1014. label00000A98:
  1015. 00000A98  4A40                     tst.w      D0
  1016. 00000A9A  4E75                     rts
  1017. fn00000A9C:
  1018. 00000A9C  3F07                     move.w     -[A7], D7
  1019. 00000A9E  3E00                     move.w     D7, D0
  1020. 00000AA0  9EFC 0032                sub.w      A7, 0x32 /* '2' */
  1021. 00000AA4  1038 0290                move.b     D0, [0x00000290 /* PortAUse */]
  1022. 00000AA8  4A47                     tst.w      D7
  1023. 00000AAA  6630                     bne        +0x32 /* 00000ADC */
  1024. 00000AAC  303C 0013                move.w     D0, 0x13
  1025. 00000AB0  2078 0B18                movea.l    A0, [0x00000B18 /* LAPMgrPtr */]
  1026. 00000AB4  B0FC FFFF                cmpa.w     A0, 0xFFFF
  1027. 00000AB8  671E                     beq        +0x20 /* 00000AD8 */
  1028. 00000ABA  48E7 0028                movem.l    -[A7], A2,A4
  1029. 00000ABE  4EA8 0002                jsr        [A0 + 0x2]
  1030. 00000AC2  4CDF 1400                movem.l    A2,A4, [A7]+
  1031. 00000AC6  0C40 FFFF                cmpi.w     D0, 0xFFFF
  1032. 00000ACA  670C                     beq        +0xE /* 00000AD8 */
  1033. 00000ACC  4A01                     tst.b      D1
  1034. 00000ACE  6B20                     bmi        +0x22 /* 00000AF0 */
  1035. 00000AD0  0C01 0002                cmpi.b     D1, 0x2
  1036. 00000AD4  671A                     beq        +0x1C /* 00000AF0 */
  1037. 00000AD6  6014                     bra        +0x16 /* 00000AEC */
  1038. label00000AD8:
  1039. 00000AD8  1038 0291                move.b     D0, [0x00000291 /* PortBUse */]
  1040. label00000ADC:
  1041. 00000ADC  4A00                     tst.b      D0
  1042. 00000ADE  6B10                     bmi        +0x12 /* 00000AF0 */
  1043. 00000AE0  0200 008F                andi.b     D0, 0x8F
  1044. 00000AE4  670A                     beq        +0xC /* 00000AF0 */
  1045. 00000AE6  0C00 0002                cmpi.b     D0, 0x2
  1046. 00000AEA  6704                     beq        +0x6 /* 00000AF0 */
  1047. label00000AEC:
  1048. 00000AEC  7000                     moveq.l    D0, 0x00
  1049. 00000AEE  6002                     bra        +0x4 /* 00000AF2 */
  1050. label00000AF0:
  1051. 00000AF0  7001                     moveq.l    D0, 0x01
  1052. label00000AF2:
  1053. 00000AF2  4FEF 0032                lea.l      A7, [A7 + 0x32]
  1054. 00000AF6  3E1F                     move.w     D7, [A7]+
  1055. 00000AF8  4A40                     tst.w      D0
  1056. 00000AFA  4E75                     rts
  1057. fn00000AFC:
  1058. 00000AFC  3F07                     move.w     -[A7], D7
  1059. 00000AFE  3E00                     move.w     D7, D0
  1060. 00000B00  9EFC 0032                sub.w      A7, 0x32 /* '2' */
  1061. 00000B04  1038 0290                move.b     D0, [0x00000290 /* PortAUse */]
  1062. 00000B08  4A47                     tst.w      D7
  1063. 00000B0A  6664                     bne        +0x66 /* 00000B70 */
  1064. 00000B0C  303C 0013                move.w     D0, 0x13
  1065. 00000B10  2078 0B18                movea.l    A0, [0x00000B18 /* LAPMgrPtr */]
  1066. 00000B14  B0FC FFFF                cmpa.w     A0, 0xFFFF
  1067. 00000B18  6752                     beq        +0x54 /* 00000B6C */
  1068. 00000B1A  48E7 0028                movem.l    -[A7], A2,A4
  1069. 00000B1E  4EA8 0002                jsr        [A0 + 0x2]
  1070. 00000B22  4CDF 1400                movem.l    A2,A4, [A7]+
  1071. 00000B26  0C40 FFFF                cmpi.w     D0, 0xFFFF
  1072. 00000B2A  6740                     beq        +0x42 /* 00000B6C */
  1073. 00000B2C  4A01                     tst.b      D1
  1074. 00000B2E  6B1C                     bmi        +0x1E /* 00000B4C */
  1075. 00000B30  0C01 0002                cmpi.b     D1, 0x2
  1076. 00000B34  6716                     beq        +0x18 /* 00000B4C */
  1077. 00000B36  0C01 0001                cmpi.b     D1, 0x1
  1078. 00000B3A  6666                     bne        +0x68 /* 00000BA2 */
  1079. 00000B3C  7200                     moveq.l    D1, 0x00
  1080. 00000B3E  6100 0272                bsr        +0x274 /* 00000DB2 */
  1081. 00000B42  6600 009C                bne        +0x9E /* 00000BE0 */
  1082. 00000B46  6100 01C6                bsr        +0x1C8 /* 00000D0E */
  1083. 00000B4A  6060                     bra        +0x62 /* 00000BAC */
  1084. label00000B4C:
  1085. 00000B4C  1038 01FB                move.b     D0, [0x000001FB /* SPConfig */]
  1086. 00000B50  0200 000F                andi.b     D0, 0xF
  1087. 00000B54  0C00 0001                cmpi.b     D0, 0x1
  1088. 00000B58  6770                     beq        +0x72 /* 00000BCA */
  1089. 00000B5A  1038 01FB                move.b     D0, [0x000001FB /* SPConfig */]
  1090. 00000B5E  0200 00F0                andi.b     D0, 0xF0
  1091. 00000B62  0000 0002                ori.b      D0, 0x2
  1092. 00000B66  11C0 01FB                move.b     [0x000001FB /* SPConfig */], D0
  1093. 00000B6A  605E                     bra        +0x60 /* 00000BCA */
  1094. label00000B6C:
  1095. 00000B6C  1038 0291                move.b     D0, [0x00000291 /* PortBUse */]
  1096. label00000B70:
  1097. 00000B70  4A00                     tst.b      D0
  1098. 00000B72  6B38                     bmi        +0x3A /* 00000BAC */
  1099. 00000B74  0200 008F                andi.b     D0, 0x8F
  1100. 00000B78  6732                     beq        +0x34 /* 00000BAC */
  1101. 00000B7A  0C00 0002                cmpi.b     D0, 0x2
  1102. 00000B7E  674A                     beq        +0x4C /* 00000BCA */
  1103. 00000B80  0C00 0001                cmpi.b     D0, 0x1
  1104. 00000B84  661C                     bne        +0x1E /* 00000BA2 */
  1105. 00000B86  4A47                     tst.w      D7
  1106. 00000B88  660E                     bne        +0x10 /* 00000B98 */
  1107. 00000B8A  7000                     moveq.l    D0, 0x00
  1108. 00000B8C  6100 0224                bsr        +0x226 /* 00000DB2 */
  1109. 00000B90  664E                     bne        +0x50 /* 00000BE0 */
  1110. 00000B92  6100 017A                bsr        +0x17C /* 00000D0E */
  1111. 00000B96  6014                     bra        +0x16 /* 00000BAC */
  1112. label00000B98:
  1113. 00000B98  303C 0019                move.w     D0, 0x19
  1114. 00000B9C  6100 1FDC                bsr        +0x1FDE /* 00002B7A */
  1115. 00000BA0  603E                     bra        +0x40 /* 00000BE0 */
  1116. label00000BA2:
  1117. 00000BA2  303C 0007                move.w     D0, 0x7
  1118. 00000BA6  6100 1FD2                bsr        +0x1FD4 /* 00002B7A */
  1119. 00000BAA  6034                     bra        +0x36 /* 00000BE0 */
  1120. label00000BAC:
  1121. 00000BAC  1038 01FB                move.b     D0, [0x000001FB /* SPConfig */]
  1122. 00000BB0  123C 0002                move.b     D1, 0x2
  1123. 00000BB4  4A47                     tst.w      D7
  1124. 00000BB6  6708                     beq        +0xA /* 00000BC0 */
  1125. 00000BB8  0200 000F                andi.b     D0, 0xF
  1126. 00000BBC  E949                     lsl        D1.w, 4
  1127. 00000BBE  6004                     bra        +0x6 /* 00000BC4 */
  1128. label00000BC0:
  1129. 00000BC0  0200 00F0                andi.b     D0, 0xF0
  1130. label00000BC4:
  1131. 00000BC4  8001                     or.b       D0, D1
  1132. 00000BC6  11C0 01FB                move.b     [0x000001FB /* SPConfig */], D0
  1133. label00000BCA:
  1134. 00000BCA  0207 0001                andi.b     D7, 0x1
  1135. 00000BCE  0238 00FE 0207           andi.b     [0x00000207 /* SPPrint */], 0xFE
  1136. 00000BD4  8F38 0207                or.b       [0x00000207 /* SPPrint */], D7
  1137. 00000BD8  6100 0DF8                bsr        +0xDFA /* 000019D2 */
  1138. 00000BDC  6100 FBB6                bsr        -0x448 /* 00000794 */
  1139. label00000BE0:
  1140. 00000BE0  4FEF 0032                lea.l      A7, [A7 + 0x32]
  1141. 00000BE4  3E1F                     move.w     D7, [A7]+
  1142. 00000BE6  4E75                     rts
  1143. fn00000BE8:
  1144. 00000BE8  48E7 0300                movem.l    -[A7], D6,D7
  1145. 00000BEC  2C01                     move.l     D6, D1
  1146. 00000BEE  7E00                     moveq.l    D7, 0x00
  1147. 00000BF0  0838 0006 0946           btst.b     [0x00000946 /* ChooserBits */], 0x6
  1148. 00000BF6  6606                     bne        +0x8 /* 00000BFE */
  1149. 00000BF8  7E08                     moveq.l    D7, 0x08
  1150. 00000BFA  6000 0088                bra        +0x8A /* 00000C84 */
  1151. label00000BFE:
  1152. 00000BFE  082A 0001 0037           btst.b     [A2 + 0x37], 0x1
  1153. 00000C04  6604                     bne        +0x6 /* 00000C0A */
  1154. 00000C06  7E02                     moveq.l    D7, 0x02
  1155. 00000C08  607A                     bra        +0x7C /* 00000C84 */
  1156. label00000C0A:
  1157. 00000C0A  303C 0013                move.w     D0, 0x13
  1158. 00000C0E  2078 0B18                movea.l    A0, [0x00000B18 /* LAPMgrPtr */]
  1159. 00000C12  B0FC FFFF                cmpa.w     A0, 0xFFFF
  1160. 00000C16  675E                     beq        +0x60 /* 00000C76 */
  1161. 00000C18  48E7 0228                movem.l    -[A7], D6,A2,A4
  1162. 00000C1C  4EA8 0002                jsr        [A0 + 0x2]
  1163. 00000C20  4CDF 1440                movem.l    D6,A2,A4, [A7]+
  1164. 00000C24  0C40 FFFF                cmpi.w     D0, 0xFFFF
  1165. 00000C28  674C                     beq        +0x4E /* 00000C76 */
  1166. 00000C2A  3F01                     move.w     -[A7], D1
  1167. 00000C2C  303C 0009                move.w     D0, 0x9 /* '\t' */
  1168. 00000C30  2078 0B18                movea.l    A0, [0x00000B18 /* LAPMgrPtr */]
  1169. 00000C34  48E7 0228                movem.l    -[A7], D6,A2,A4
  1170. 00000C38  4EA8 0002                jsr        [A0 + 0x2]
  1171. 00000C3C  4CDF 1440                movem.l    D6,A2,A4, [A7]+
  1172. 00000C40  0C01 0000                cmpi.b     D1, 0x0
  1173. 00000C44  6706                     beq        +0x8 /* 00000C4C */
  1174. 00000C46  0C01 0001                cmpi.b     D1, 0x1
  1175. 00000C4A  660E                     bne        +0x10 /* 00000C5A */
  1176. label00000C4C:
  1177. 00000C4C  321F                     move.w     D1, [A7]+
  1178. 00000C4E  4A01                     tst.b      D1
  1179. 00000C50  6B32                     bmi        +0x34 /* 00000C84 */
  1180. 00000C52  0C01 0001                cmpi.b     D1, 0x1
  1181. 00000C56  672C                     beq        +0x2E /* 00000C84 */
  1182. 00000C58  6028                     bra        +0x2A /* 00000C82 */
  1183. label00000C5A:
  1184. 00000C5A  301F                     move.w     D0, [A7]+
  1185. 00000C5C  0C01 0003                cmpi.b     D1, 0x3
  1186. 00000C60  6622                     bne        +0x24 /* 00000C84 */
  1187. 00000C62  1038 0290                move.b     D0, [0x00000290 /* PortAUse */]
  1188. 00000C66  6B1C                     bmi        +0x1E /* 00000C84 */
  1189. 00000C68  0240 000F                andi.w     D0, 0xF
  1190. 00000C6C  6716                     beq        +0x18 /* 00000C84 */
  1191. 00000C6E  0C00 0001                cmpi.b     D0, 0x1
  1192. 00000C72  6710                     beq        +0x12 /* 00000C84 */
  1193. 00000C74  600C                     bra        +0xE /* 00000C82 */
  1194. label00000C76:
  1195. 00000C76  1038 0291                move.b     D0, [0x00000291 /* PortBUse */]
  1196. 00000C7A  6B08                     bmi        +0xA /* 00000C84 */
  1197. 00000C7C  0240 000F                andi.w     D0, 0xF
  1198. 00000C80  6702                     beq        +0x4 /* 00000C84 */
  1199. label00000C82:
  1200. 00000C82  7E10                     moveq.l    D7, 0x10
  1201. label00000C84:
  1202. 00000C84  2206                     move.l     D1, D6
  1203. 00000C86  3007                     move.w     D0, D7
  1204. 00000C88  6602                     bne        +0x4 /* 00000C8C */
  1205. 00000C8A  700B                     moveq.l    D0, 0x0B
  1206. label00000C8C:
  1207. 00000C8C  4A41                     tst.w      D1
  1208. 00000C8E  6B12                     bmi        +0x14 /* 00000CA2 */
  1209. 00000C90  5240                     addq.w     D0, 1
  1210. 00000C92  0C40 000C                cmpi.w     D0, 0xC
  1211. 00000C96  660A                     bne        +0xC /* 00000CA2 */
  1212. 00000C98  7402                     moveq.l    D2, 0x02
  1213. 00000C9A  6100 1EE2                bsr        +0x1EE4 /* 00002B7E */
  1214. 00000C9E  5340                     subq.w     D0, 1
  1215. 00000CA0  6006                     bra        +0x8 /* 00000CA8 */
  1216. label00000CA2:
  1217. 00000CA2  6100 1ED8                bsr        +0x1EDA /* 00002B7C */
  1218. 00000CA6  3007                     move.w     D0, D7
  1219. label00000CA8:
  1220. 00000CA8  4CDF 00C0                movem.l    D6,D7, [A7]+
  1221. 00000CAC  4A40                     tst.w      D0
  1222. 00000CAE  4E75                     rts
  1223. 00000CB0  3003                     move.w     D0, D3
  1224. 00000CB2  6100 1D4A                bsr        +0x1D4C /* 000029FE */
  1225. 00000CB6  554F                     subq.w     A7, 2
  1226. 00000CB8  2F2E FFFA                move.l     -[A7], [A6 - 0x6]
  1227. 00000CBC  A960                     syscall    GetControlValue/GetCtlValue
  1228. 00000CBE  4A5F                     tst.w      [A7]+
  1229. 00000CC0  662E                     bne        +0x30 /* 00000CF0 */
  1230. 00000CC2  0C43 0009                cmpi.w     D3, 0x9 /* '\t' */
  1231. 00000CC6  662A                     bne        +0x2C /* 00000CF2 */
  1232. 00000CC8  72FF                     moveq.l    D1, 0xFFFFFFFF
  1233. 00000CCA  6100 FF1C                bsr        -0xE2 /* 00000BE8 */
  1234. 00000CCE  6620                     bne        +0x22 /* 00000CF0 */
  1235. fn00000CD0:
  1236. 00000CD0  0238 00F0 01FB           andi.b     [0x000001FB /* SPConfig */], 0xF0
  1237. 00000CD6  0038 0001 01FB           ori.b      [0x000001FB /* SPConfig */], 0x1
  1238. label00000CDC:
  1239. 00000CDC  6100 0AAA                bsr        +0xAAC /* 00001788 */
  1240. 00000CE0  6100 0CF0                bsr        +0xCF2 /* 000019D2 */
  1241. 00000CE4  082A 0002 0037           btst.b     [A2 + 0x37], 0x2
  1242. 00000CEA  6704                     beq        +0x6 /* 00000CF0 */
  1243. 00000CEC  6100 0C4C                bsr        +0xC4E /* 0000193A */
  1244. label00000CF0:
  1245. 00000CF0  4E75                     rts
  1246. label00000CF2:
  1247. 00000CF2  7201                     moveq.l    D1, 0x01
  1248. 00000CF4  6100 00BC                bsr        +0xBE /* 00000DB2 */
  1249. 00000CF8  66F6                     bne        -0x8 /* 00000CF0 */
  1250. 00000CFA  0804 001F                btst.b     D4, 0x1F
  1251. 00000CFE  670E                     beq        +0x10 /* 00000D0E */
  1252. 00000D00  362A 000C                move.w     D3, [A2 + 0xC]
  1253. 00000D04  6100 09CA                bsr        +0x9CC /* 000016D0 */
  1254. 00000D08  3003                     move.w     D0, D3
  1255. 00000D0A  6100 092E                bsr        +0x930 /* 0000163A */
  1256. fn00000D0E:
  1257. 00000D0E  1038 0291                move.b     D0, [0x00000291 /* PortBUse */]
  1258. 00000D12  0200 008F                andi.b     D0, 0x8F
  1259. 00000D16  0C00 0001                cmpi.b     D0, 0x1
  1260. 00000D1A  6618                     bne        +0x1A /* 00000D34 */
  1261. 00000D1C  9EFC 0032                sub.w      A7, 0x32 /* '2' */
  1262. 00000D20  204F                     movea.l    A0, A7
  1263. 00000D22  317C FFF6 0018           move.w     [A0 + 0x18], 0xFFF6
  1264. 00000D28  A001                     syscall    Close
  1265. 00000D2A  4FEF 0032                lea.l      A7, [A7 + 0x32]
  1266. 00000D2E  08AA 0005 0037           bclr.b     [A2 + 0x37], 0x5
  1267. label00000D34:
  1268. 00000D34  700D                     moveq.l    D0, 0x0D
  1269. 00000D36  6100 1E42                bsr        +0x1E44 /* 00002B7A */
  1270. 00000D3A  0238 00F0 01FB           andi.b     [0x000001FB /* SPConfig */], 0xF0
  1271. 00000D40  0038 0002 01FB           ori.b      [0x000001FB /* SPConfig */], 0x2
  1272. 00000D46  6094                     bra        -0x6A /* 00000CDC */
  1273. fn00000D48:
  1274. 00000D48  9EFC 0032                sub.w      A7, 0x32 /* '2' */
  1275. 00000D4C  204F                     movea.l    A0, A7
  1276. 00000D4E  317C FFF6 0018           move.w     [A0 + 0x18], 0xFFF6
  1277. 00000D54  43FA 2044                lea.l      A1, [PC + 0x2044 /* 00002D9A, value 0x42E4D50, pstring ".MPP" */]
  1278. 00000D58  2149 0012                move.l     [A0 + 0x12], A1
  1279. 00000D5C  317C 0103 001A           move.w     [A0 + 0x1A], 0x103
  1280. 00000D62  42A8 001C                clr.l      [A0 + 0x1C]
  1281. 00000D66  A004                     syscall    Control
  1282. 00000D68  4A40                     tst.w      D0
  1283. 00000D6A  6706                     beq        +0x8 /* 00000D72 */
  1284. 00000D6C  0C40 FFE8                cmpi.w     D0, 0xFFE8
  1285. 00000D70  6704                     beq        +0x6 /* 00000D76 */
  1286. label00000D72:
  1287. 00000D72  7007                     moveq.l    D0, 0x07
  1288. 00000D74  6036                     bra        +0x38 /* 00000DAC */
  1289. label00000D76:
  1290. 00000D76  303C 0017                move.w     D0, 0x17
  1291. 00000D7A  2428 001C                move.l     D2, [A0 + 0x1C]
  1292. 00000D7E  6710                     beq        +0x12 /* 00000D90 */
  1293. 00000D80  42A7                     clr.l      -[A7]
  1294. 00000D82  2F28 001C                move.l     -[A7], [A0 + 0x1C]
  1295. 00000D86  42A7                     clr.l      -[A7]
  1296. 00000D88  42A7                     clr.l      -[A7]
  1297. 00000D8A  A98B                     syscall    ParamText
  1298. 00000D8C  303C 001B                move.w     D0, 0x1B
  1299. label00000D90:
  1300. 00000D90  72FF                     moveq.l    D1, 0xFFFFFFFF
  1301. 00000D92  7403                     moveq.l    D2, 0x03
  1302. 00000D94  6100 1DE8                bsr        +0x1DEA /* 00002B7E */
  1303. 00000D98  0C40 0001                cmpi.w     D0, 0x1
  1304. 00000D9C  6704                     beq        +0x6 /* 00000DA2 */
  1305. 00000D9E  7000                     moveq.l    D0, 0x00
  1306. 00000DA0  600A                     bra        +0xC /* 00000DAC */
  1307. label00000DA2:
  1308. 00000DA2  317C 0104 001A           move.w     [A0 + 0x1A], 0x104
  1309. 00000DA8  A004                     syscall    Control
  1310. 00000DAA  7001                     moveq.l    D0, 0x01
  1311. label00000DAC:
  1312. 00000DAC  4FEF 0032                lea.l      A7, [A7 + 0x32]
  1313. 00000DB0  4E75                     rts
  1314. fn00000DB2:
  1315. 00000DB2  48E7 0700                movem.l    -[A7], D5,D6,D7
  1316. 00000DB6  3C01                     move.w     D6, D1
  1317. 00000DB8  7E00                     moveq.l    D7, 0x00
  1318. 00000DBA  0838 0006 0946           btst.b     [0x00000946 /* ChooserBits */], 0x6
  1319. 00000DC0  6604                     bne        +0x6 /* 00000DC6 */
  1320. 00000DC2  7E08                     moveq.l    D7, 0x08
  1321. 00000DC4  6076                     bra        +0x78 /* 00000E3C */
  1322. label00000DC6:
  1323. 00000DC6  6180                     bsr        -0x7E /* 00000D48 */
  1324. 00000DC8  4A40                     tst.w      D0
  1325. 00000DCA  670A                     beq        +0xC /* 00000DD6 */
  1326. 00000DCC  0C40 0001                cmpi.w     D0, 0x1
  1327. 00000DD0  6E12                     bgt        +0x14 /* 00000DE4 */
  1328. 00000DD2  6000 0096                bra        +0x98 /* 00000E6A */
  1329. label00000DD6:
  1330. 00000DD6  9EFC 0032                sub.w      A7, 0x32 /* '2' */
  1331. 00000DDA  204F                     movea.l    A0, A7
  1332. 00000DDC  317C FFD7 0018           move.w     [A0 + 0x18], 0xFFD7
  1333. 00000DE2  6044                     bra        +0x46 /* 00000E28 */
  1334. label00000DE4:
  1335. 00000DE4  3206                     move.w     D1, D6
  1336. 00000DE6  7E00                     moveq.l    D7, 0x00
  1337. 00000DE8  0838 0005 0291           btst.b     [0x00000291 /* PortBUse */], 0x5
  1338. 00000DEE  674C                     beq        +0x4E /* 00000E3C */
  1339. 00000DF0  9EFC 0032                sub.w      A7, 0x32 /* '2' */
  1340. 00000DF4  204F                     movea.l    A0, A7
  1341. 00000DF6  317C FFD7 0018           move.w     [A0 + 0x18], 0xFFD7
  1342. 00000DFC  7E14                     moveq.l    D7, 0x14
  1343. 00000DFE  43FA 1F94                lea.l      A1, [PC + 0x1F94 /* 00002D94, value 0x42E5850, pstring ".XPP" */]
  1344. 00000E02  2149 0012                move.l     [A0 + 0x12], A1
  1345. 00000E06  4228 001B                clr.b      [A0 + 0x1B]
  1346. 00000E0A  A000                     syscall    Open/PBHOpen/HOpen
  1347. 00000E0C  4A46                     tst.w      D6
  1348. 00000E0E  6706                     beq        +0x8 /* 00000E16 */
  1349. 00000E10  7E16                     moveq.l    D7, 0x16
  1350. 00000E12  A001                     syscall    Close
  1351. 00000E14  6720                     beq        +0x22 /* 00000E36 */
  1352. label00000E16:
  1353. 00000E16  3007                     move.w     D0, D7
  1354. 00000E18  D046                     add.w      D0, D6
  1355. 00000E1A  322A 000C                move.w     D1, [A2 + 0xC]
  1356. 00000E1E  7403                     moveq.l    D2, 0x03
  1357. 00000E20  6100 1D5C                bsr        +0x1D5E /* 00002B7E */
  1358. 00000E24  5540                     subq.w     D0, 2
  1359. 00000E26  660E                     bne        +0x10 /* 00000E36 */
  1360. label00000E28:
  1361. 00000E28  204F                     movea.l    A0, A7
  1362. 00000E2A  317C 00F7 001A           move.w     [A0 + 0x1A], 0xF7
  1363. 00000E30  A004                     syscall    Control
  1364. 00000E32  A001                     syscall    Close
  1365. 00000E34  7000                     moveq.l    D0, 0x00
  1366. label00000E36:
  1367. 00000E36  4FEF 0032                lea.l      A7, [A7 + 0x32]
  1368. 00000E3A  602E                     bra        +0x30 /* 00000E6A */
  1369. label00000E3C:
  1370. 00000E3C  3007                     move.w     D0, D7
  1371. 00000E3E  4A46                     tst.w      D6
  1372. 00000E40  6618                     bne        +0x1A /* 00000E5A */
  1373. 00000E42  5440                     addq.w     D0, 2
  1374. 00000E44  0C40 000A                cmpi.w     D0, 0xA /* '\n' */
  1375. 00000E48  6710                     beq        +0x12 /* 00000E5A */
  1376. 00000E4A  7006                     moveq.l    D0, 0x06
  1377. 00000E4C  322A 000C                move.w     D1, [A2 + 0xC]
  1378. 00000E50  7402                     moveq.l    D2, 0x02
  1379. 00000E52  6100 1D2A                bsr        +0x1D2C /* 00002B7E */
  1380. 00000E56  5340                     subq.w     D0, 1
  1381. 00000E58  6010                     bra        +0x12 /* 00000E6A */
  1382. label00000E5A:
  1383. 00000E5A  4A40                     tst.w      D0
  1384. 00000E5C  670C                     beq        +0xE /* 00000E6A */
  1385. 00000E5E  322A 000C                move.w     D1, [A2 + 0xC]
  1386. 00000E62  7401                     moveq.l    D2, 0x01
  1387. 00000E64  6100 1D18                bsr        +0x1D1A /* 00002B7E */
  1388. 00000E68  3007                     move.w     D0, D7
  1389. label00000E6A:
  1390. 00000E6A  4CDF 00E0                movem.l    D5,D6,D7, [A7]+
  1391. 00000E6E  4A40                     tst.w      D0
  1392. 00000E70  4E75                     rts
  1393. 00000E72  4E75                     rts
  1394. 00000E74  5052                     addq.w     [A2], 8
  1395. 00000E76  4552                     chk.w      D2, [A2]
  1396. 00000E78  5052                     addq.w     [A2], 8
  1397. 00000E7A  4553                     chk.w      D2, [A3]
  1398. 00000E7C  5244                     addq.w     D4, 1
  1399. 00000E7E  4556                     chk.w      D2, [A6]
  1400. 00000E80  6578                     bcs        +0x7A /* 00000EFA */
  1401. 00000E82  746E                     moveq.l    D2, 0x6E
  1402. 00000E84  6D61                     blt        +0x63 /* 00000EE7 */
  1403. 00000E86  6373                     bls        +0x75 /* 00000EFB */
  1404. fn00000E88:
  1405. 00000E88  4E56 FE94                link       A6, -0x016C
  1406. 00000E8C  48E7 0E10                movem.l    -[A7], D4,D5,D6,A3
  1407. 00000E90  41FA F152                lea.l      A0, [PC - 0xEAE /* FFFFFFE4, cstring ""<EOF> */]
  1408. 00000E94  A128                     syscall    RecoverHandle, flags=1
  1409. 00000E96  554F                     subq.w     A7, 2
  1410. 00000E98  2F08                     move.l     -[A7], A0
  1411. 00000E9A  A9A4                     syscall    HomeResFile
  1412. 00000E9C  3017                     move.w     D0, [A7]
  1413. 00000E9E  3D40 FEA2                move.w     [A6 - 0x15E], D0
  1414. 00000EA2  6604                     bne        +0x6 /* 00000EA8 */
  1415. 00000EA4  3038 0A58                move.w     D0, [0x00000A58 /* SysMap */]
  1416. label00000EA8:
  1417. 00000EA8  2078 034E                movea.l    A0, [0x0000034E /* FCBSPtr */]
  1418. 00000EAC  2070 0014                movea.l    A0, [A0 + D0.w + 0x14]
  1419. 00000EB0  3D68 004E FEA0           move.w     [A6 - 0x160], [A0 + 0x4E]
  1420. 00000EB6  A998                     syscall    UseResFile
  1421. 00000EB8  6100 0138                bsr        +0x13A /* 00000FF2 */
  1422. 00000EBC  426A 0062                clr.w      [A2 + 0x62]
  1423. 00000EC0  486E FEAA                pea.l      [A6 - 0x156]
  1424. 00000EC4  6100 1C78                bsr        +0x1C7A /* 00002B3E */
  1425. 00000EC8  3F00                     move.w     -[A7], D0
  1426. 00000ECA  3F3C 0002                move.w     -[A7], 0x2
  1427. 00000ECE  6100 1C26                bsr        +0x1C28 /* 00002AF6 */
  1428. 00000ED2  422E FEA5                clr.b      [A6 - 0x15B]
  1429. 00000ED6  47FA FFA8                lea.l      A3, [PC - 0x58 /* 00000E80, value 0x6578746E 'extn' */]
  1430. 00000EDA  7802                     moveq.l    D4, 0x02
  1431. 00000EDC  6044                     bra        +0x46 /* 00000F22 */
  1432. label00000EDE:
  1433. 00000EDE  41EE FFB0                lea.l      A0, [A6 - 0x50]
  1434. 00000EE2  3178 0210 0016           move.w     [A0 + 0x16], [0x00000210 /* BootDrive */]
  1435. 00000EE8  4268 001C                clr.w      [A0 + 0x1C]
  1436. 00000EEC  43EE FEB0                lea.l      A1, [A6 - 0x150]
  1437. 00000EF0  2149 0012                move.l     [A0 + 0x12], A1
  1438. label00000EF4:
  1439. 00000EF4  5268 001C                addq.w     [A0 + 0x1C], 1
  1440. 00000EF8  4268 0018                clr.w      [A0 + 0x18]
  1441. // begin alternate branch 00000EFA-00000F02
  1442. label00000EFA:
  1443. 00000EFA  0018 216E                ori.b      [A0]+, 0x6E /* 'n' */
  1444. 00000EFE  FE9C 0030                .extension 0xE9C <<F/2-3/7>> // unimplemented
  1445. // end alternate branch 00000EFA-00000F02
  1446. label00000EFA: // (misaligned)
  1447. 00000EFC  216E FE9C 0030           move.l     [A0 + 0x30], [A6 - 0x164]
  1448. 00000F02  A20C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=2
  1449. 00000F04  6B1A                     bmi        +0x1C /* 00000F20 */
  1450. 00000F06  43FA FF6C                lea.l      A1, [PC - 0x94 /* 00000E74, value 0x50524552 'PRER' */]
  1451. 00000F0A  7C02                     moveq.l    D6, 0x02
  1452. label00000F0C:
  1453. 00000F0C  2019                     move.l     D0, [A1]+
  1454. 00000F0E  B0A8 0020                cmp.l      D0, [A0 + 0x20]
  1455. 00000F12  6606                     bne        +0x8 /* 00000F1A */
  1456. 00000F14  6100 01AC                bsr        +0x1AE /* 000010C2 */
  1457. 00000F18  60DA                     bra        -0x24 /* 00000EF4 */
  1458. label00000F1A:
  1459. 00000F1A  51CE FFF0                dbf        D6, -0x12 /* 00000F0C */
  1460. 00000F1E  60D4                     bra        -0x2A /* 00000EF4 */
  1461. label00000F20:
  1462. 00000F20  584B                     addq.w     A3, 4
  1463. label00000F22:
  1464. 00000F22  2013                     move.l     D0, [A3]
  1465. 00000F24  6100 1E7A                bsr        +0x1E7C /* 00002DA0 */
  1466. 00000F28  2D40 FE9C                move.l     [A6 - 0x164], D0
  1467. 00000F2C  51CC FFB0                dbf        D4, -0x52 /* 00000EDE */
  1468. 00000F30  6128                     bsr        +0x2A /* 00000F5A */
  1469. 00000F32  6100 0132                bsr        +0x134 /* 00001066 */
  1470. 00000F36  4A2E FEA5                tst.b      [A6 - 0x15B]
  1471. 00000F3A  6712                     beq        +0x14 /* 00000F4E */
  1472. 00000F3C  2F05                     move.l     -[A7], D5
  1473. 00000F3E  A9AA                     syscall    ChangedResource
  1474. 00000F40  3F2E FEA2                move.w     -[A7], [A6 - 0x15E]
  1475. 00000F44  A999                     syscall    UpdateResFile
  1476. 00000F46  302E FEA0                move.w     D0, [A6 - 0x160]
  1477. 00000F4A  6100 0090                bsr        +0x92 /* 00000FDC */
  1478. label00000F4E:
  1479. 00000F4E  2045                     movea.l    A0, D5
  1480. 00000F50  A049                     syscall    HPurge
  1481. 00000F52  4CDF 0870                movem.l    D4,D5,D6,A3, [A7]+
  1482. 00000F56  4E5E                     unlink     A6
  1483. 00000F58  4E75                     rts
  1484. fn00000F5A:
  1485. 00000F5A  4E56 FEEE                link       A6, -0x0112
  1486. 00000F5E  48E7 1C00                movem.l    -[A7], D3,D4,D5
  1487. 00000F62  362A 0062                move.w     D3, [A2 + 0x62]
  1488. 00000F66  6768                     beq        +0x6A /* 00000FD0 */
  1489. 00000F68  5343                     subq.w     D3, 1
  1490. 00000F6A  7800                     moveq.l    D4, 0x00
  1491. label00000F6C:
  1492. 00000F6C  2004                     move.l     D0, D4
  1493. 00000F6E  41EE FEEE                lea.l      A0, [A6 - 0x112]
  1494. 00000F72  6100 04A6                bsr        +0x4A8 /* 0000141A */
  1495. 00000F76  486E FEEE                pea.l      [A6 - 0x112]
  1496. 00000F7A  3F00                     move.w     -[A7], D0
  1497. 00000F7C  7200                     moveq.l    D1, 0x00
  1498. 00000F7E  3004                     move.w     D0, D4
  1499. 00000F80  E248                     lsr        D0.w, 1
  1500. 00000F82  D341                     addx.w     D1, D1
  1501. 00000F84  3F01                     move.w     -[A7], D1
  1502. 00000F86  3F00                     move.w     -[A7], D0
  1503. 00000F88  2F2A 0064                move.l     -[A7], [A2 + 0x64]
  1504. 00000F8C  3F3C 0058                move.w     -[A7], 0x58 /* 'X' */
  1505. 00000F90  A9E7                     syscall    Pack0/ListManager
  1506. 00000F92  3F3C 0002                move.w     -[A7], 0x2
  1507. 00000F96  3F04                     move.w     -[A7], D4
  1508. 00000F98  2F2A 0064                move.l     -[A7], [A2 + 0x64]
  1509. 00000F9C  3F3C 001C                move.w     -[A7], 0x1C
  1510. 00000FA0  A9E7                     syscall    Pack0/ListManager
  1511. 00000FA2  5244                     addq.w     D4, 1
  1512. 00000FA4  51CB FFC6                dbf        D3, -0x3C /* 00000F6C */
  1513. 00000FA8  3F3C 0001                move.w     -[A7], 0x1
  1514. 00000FAC  3F3C 0002                move.w     -[A7], 0x2
  1515. 00000FB0  2F2A 0064                move.l     -[A7], [A2 + 0x64]
  1516. 00000FB4  3F3C 0020                move.w     -[A7], 0x20 /* ' ' */
  1517. 00000FB8  A9E7                     syscall    Pack0/ListManager
  1518. 00000FBA  E244                     asr        D4.w, 1
  1519. 00000FBC  6402                     bcc        +0x4 /* 00000FC0 */
  1520. 00000FBE  5244                     addq.w     D4, 1
  1521. label00000FC0:
  1522. 00000FC0  3F3C 0010                move.w     -[A7], 0x10
  1523. 00000FC4  3F04                     move.w     -[A7], D4
  1524. 00000FC6  2F2A 0064                move.l     -[A7], [A2 + 0x64]
  1525. 00000FCA  3F3C 0024                move.w     -[A7], 0x24 /* '$' */
  1526. 00000FCE  A9E7                     syscall    Pack0/ListManager
  1527. label00000FD0:
  1528. 00000FD0  4CDF 0038                movem.l    D3,D4,D5, [A7]+
  1529. 00000FD4  4E5E                     unlink     A6
  1530. 00000FD6  4E75                     rts
  1531. fn00000FD8:
  1532. 00000FD8  3038 0210                move.w     D0, [0x00000210 /* BootDrive */]
  1533. fn00000FDC:
  1534. 00000FDC  9EFC 0032                sub.w      A7, 0x32 /* '2' */
  1535. 00000FE0  204F                     movea.l    A0, A7
  1536. 00000FE2  42A8 0012                clr.l      [A0 + 0x12]
  1537. 00000FE6  3140 0016                move.w     [A0 + 0x16], D0
  1538. 00000FEA  A013                     syscall    FlushVol
  1539. 00000FEC  4FEF 0032                lea.l      A7, [A7 + 0x32]
  1540. 00000FF0  4E75                     rts
  1541. fn00000FF2:
  1542. 00000FF2  594F                     subq.w     A7, 4
  1543. 00000FF4  2F3C 636C 7374           move.l     -[A7], 0x636C7374 /* 'clst' */
  1544. 00000FFA  6100 1B42                bsr        +0x1B44 /* 00002B3E */
  1545. 00000FFE  3F00                     move.w     -[A7], D0
  1546. 00001000  A9A0                     syscall    GetResource
  1547. 00001002  2A1F                     move.l     D5, [A7]+
  1548. 00001004  6726                     beq        +0x28 /* 0000102C */
  1549. 00001006  9EFC 0010                sub.w      A7, 0x10
  1550. 0000100A  2F0F                     move.l     -[A7], A7
  1551. 0000100C  A976                     syscall    GetKeys
  1552. 0000100E  5C4F                     addq.w     A7, 6
  1553. 00001010  321F                     move.w     D1, [A7]+
  1554. 00001012  504F                     addq.w     A7, 8
  1555. 00001014  0241 8004                andi.w     D1, 0x8004
  1556. 00001018  0C41 8004                cmpi.w     D1, 0x8004
  1557. 0000101C  6632                     bne        +0x34 /* 00001050 */
  1558. 0000101E  3F3C 0002                move.w     -[A7], 0x2
  1559. 00001022  A9C8                     syscall    SysBeep
  1560. 00001024  2F05                     move.l     -[A7], D5
  1561. 00001026  A9AD                     syscall    RemoveResource/RmveResource
  1562. 00001028  2045                     movea.l    A0, D5
  1563. 0000102A  A023                     syscall    DisposHandle/DisposeHandle
  1564. label0000102C:
  1565. 0000102C  7002                     moveq.l    D0, 0x02
  1566. 0000102E  A122                     syscall    NewHandle, flags=1
  1567. 00001030  2A08                     move.l     D5, A0
  1568. 00001032  2250                     movea.l    A1, [A0]
  1569. 00001034  4251                     clr.w      [A1]
  1570. 00001036  2F08                     move.l     -[A7], A0
  1571. 00001038  2F3C 636C 7374           move.l     -[A7], 0x636C7374 /* 'clst' */
  1572. 0000103E  6100 1AFE                bsr        +0x1B00 /* 00002B3E */
  1573. 00001042  3F00                     move.w     -[A7], D0
  1574. 00001044  487A 1D4C                pea.l      [PC + 0x1D4C /* 00002D92, value 0x42E, cstring "" */]
  1575. 00001048  A9AB                     syscall    AddResource
  1576. 0000104A  1D7C 0001 FEA5           move.b     [A6 - 0x15B], 0x1
  1577. label00001050:
  1578. 00001050  2045                     movea.l    A0, D5
  1579. 00001052  A04A                     syscall    HNoPurge
  1580. 00001054  2050                     movea.l    A0, [A0]
  1581. 00001056  3018                     move.w     D0, [A0]+
  1582. 00001058  6006                     bra        +0x8 /* 00001060 */
  1583. label0000105A:
  1584. 0000105A  4250                     clr.w      [A0]
  1585. 0000105C  41E8 0716                lea.l      A0, [A0 + 0x716]
  1586. label00001060:
  1587. 00001060  51C8 FFF8                dbf        D0, -0xA /* 0000105A */
  1588. 00001064  4E75                     rts
  1589. fn00001066:
  1590. 00001066  48E7 3810                movem.l    -[A7], D2,D3,D4,A3
  1591. 0000106A  2045                     movea.l    A0, D5
  1592. 0000106C  A029                     syscall    HLock
  1593. 0000106E  2648                     movea.l    A3, A0
  1594. 00001070  2653                     movea.l    A3, [A3]
  1595. 00001072  7401                     moveq.l    D2, 0x01
  1596. 00001074  321B                     move.w     D1, [A3]+
  1597. 00001076  603C                     bra        +0x3E /* 000010B4 */
  1598. label00001078:
  1599. 00001078  4A13                     tst.b      [A3]
  1600. 0000107A  6632                     bne        +0x34 /* 000010AE */
  1601. 0000107C  A025                     syscall    GetHandleSize
  1602. 0000107E  2800                     move.l     D4, D0
  1603. 00001080  3602                     move.w     D3, D2
  1604. 00001082  C6FC 0716                mulu.w     D3, 0x716
  1605. 00001086  5443                     addq.w     D3, 2
  1606. 00001088  9043                     sub.w      D0, D3
  1607. 0000108A  224B                     movea.l    A1, A3
  1608. 0000108C  204B                     movea.l    A0, A3
  1609. 0000108E  41E8 0716                lea.l      A0, [A0 + 0x716]
  1610. 00001092  A02E                     syscall    BlockMove/BlockMoveData
  1611. 00001094  0444 0716                subi.w     D4, 0x716
  1612. 00001098  2004                     move.l     D0, D4
  1613. 0000109A  2045                     movea.l    A0, D5
  1614. 0000109C  A024                     syscall    SetHandleSize
  1615. 0000109E  1D7C 0001 FEA5           move.b     [A6 - 0x15B], 0x1
  1616. 000010A4  96FC 0716                sub.w      A3, 0x716
  1617. 000010A8  5342                     subq.w     D2, 1
  1618. 000010AA  2250                     movea.l    A1, [A0]
  1619. 000010AC  5351                     subq.w     [A1], 1
  1620. label000010AE:
  1621. 000010AE  5242                     addq.w     D2, 1
  1622. 000010B0  47EB 0716                lea.l      A3, [A3 + 0x716]
  1623. label000010B4:
  1624. 000010B4  51C9 FFC2                dbf        D1, -0x40 /* 00001078 */
  1625. 000010B8  2045                     movea.l    A0, D5
  1626. 000010BA  A02A                     syscall    HUnlock
  1627. 000010BC  4CDF 081C                movem.l    D2,D3,D4,A3, [A7]+
  1628. 000010C0  4E75                     rts
  1629. fn000010C2:
  1630. 000010C2  48E7 1B98                movem.l    -[A7], D3,D4,D6,D7,A0,A3,A4
  1631. 000010C6  302A 0062                move.w     D0, [A2 + 0x62]
  1632. 000010CA  0C40 0020                cmpi.w     D0, 0x20 /* ' ' */
  1633. 000010CE  647C                     bcc        +0x7E /* 0000114C */
  1634. 000010D0  2848                     movea.l    A4, A0
  1635. 000010D2  2045                     movea.l    A0, D5
  1636. 000010D4  2050                     movea.l    A0, [A0]
  1637. 000010D6  3218                     move.w     D1, [A0]+
  1638. 000010D8  6028                     bra        +0x2A /* 00001102 */
  1639. label000010DA:
  1640. 000010DA  4A10                     tst.b      [A0]
  1641. 000010DC  6620                     bne        +0x22 /* 000010FE */
  1642. 000010DE  202C 0020                move.l     D0, [A4 + 0x20]
  1643. 000010E2  B0A8 0002                cmp.l      D0, [A0 + 0x2]
  1644. 000010E6  6616                     bne        +0x18 /* 000010FE */
  1645. 000010E8  202C 0024                move.l     D0, [A4 + 0x24]
  1646. 000010EC  B0A8 0006                cmp.l      D0, [A0 + 0x6]
  1647. 000010F0  660C                     bne        +0xE /* 000010FE */
  1648. 000010F2  202C 0048                move.l     D0, [A4 + 0x48]
  1649. 000010F6  B0A8 000A                cmp.l      D0, [A0 + 0xA]
  1650. 000010FA  6700 01A6                beq        +0x1A8 /* 000012A2 */
  1651. label000010FE:
  1652. 000010FE  41E8 0716                lea.l      A0, [A0 + 0x716]
  1653. label00001102:
  1654. 00001102  51C9 FFD6                dbf        D1, -0x2C /* 000010DA */
  1655. 00001106  7E00                     moveq.l    D7, 0x00
  1656. 00001108  7800                     moveq.l    D4, 0x00
  1657. 0000110A  554F                     subq.w     A7, 2
  1658. 0000110C  3F38 0210                move.w     -[A7], [0x00000210 /* BootDrive */]
  1659. 00001110  2013                     move.l     D0, [A3]
  1660. 00001112  6100 1C8C                bsr        +0x1C8E /* 00002DA0 */
  1661. 00001116  2F00                     move.l     -[A7], D0
  1662. 00001118  486E FEB0                pea.l      [A6 - 0x150]
  1663. 0000111C  1F3C 0003                move.b     -[A7], 0x3
  1664. 00001120  A81A                     syscall    HOpenResFile
  1665. 00001122  361F                     move.w     D3, [A7]+
  1666. 00001124  6A2A                     bpl        +0x2C /* 00001150 */
  1667. 00001126  486E FEB0                pea.l      [A6 - 0x150]
  1668. 0000112A  42A7                     clr.l      -[A7]
  1669. 0000112C  42A7                     clr.l      -[A7]
  1670. 0000112E  42A7                     clr.l      -[A7]
  1671. 00001130  A98B                     syscall    ParamText
  1672. 00001132  286A 0004                movea.l    A4, [A2 + 0x4]
  1673. 00001136  7012                     moveq.l    D0, 0x12
  1674. 00001138  6100 1A40                bsr        +0x1A42 /* 00002B7A */
  1675. label0000113C:
  1676. 0000113C  4A43                     tst.w      D3
  1677. 0000113E  6B0C                     bmi        +0xE /* 0000114C */
  1678. 00001140  4A84                     tst.l      D4
  1679. 00001142  6704                     beq        +0x6 /* 00001148 */
  1680. 00001144  2044                     movea.l    A0, D4
  1681. 00001146  A023                     syscall    DisposHandle/DisposeHandle
  1682. label00001148:
  1683. 00001148  3F03                     move.w     -[A7], D3
  1684. 0000114A  A99A                     syscall    CloseResFile
  1685. label0000114C:
  1686. 0000114C  6000 027A                bra        +0x27C /* 000013C8 */
  1687. label00001150:
  1688. 00001150  9EFC 000C                sub.w      A7, 0xC
  1689. 00001154  2F2C 0024                move.l     -[A7], [A4 + 0x24]
  1690. 00001158  2F2C 0020                move.l     -[A7], [A4 + 0x20]
  1691. 0000115C  6100 1F06                bsr        +0x1F08 /* 00003064 */
  1692. 00001160  281F                     move.l     D4, [A7]+
  1693. 00001162  2D5F FE98                move.l     [A6 - 0x168], [A7]+
  1694. 00001166  2D5F FE94                move.l     [A6 - 0x16C], [A7]+
  1695. 0000116A  4A84                     tst.l      D4
  1696. 0000116C  67CE                     beq        -0x30 /* 0000113C */
  1697. 0000116E  2044                     movea.l    A0, D4
  1698. 00001170  A04A                     syscall    HNoPurge
  1699. 00001172  2F04                     move.l     -[A7], D4
  1700. 00001174  A992                     syscall    DetachResource
  1701. 00001176  202E FE98                move.l     D0, [A6 - 0x168]
  1702. 0000117A  670A                     beq        +0xC /* 00001186 */
  1703. 0000117C  2040                     movea.l    A0, D0
  1704. 0000117E  A04A                     syscall    HNoPurge
  1705. 00001180  2F2E FE98                move.l     -[A7], [A6 - 0x168]
  1706. 00001184  A992                     syscall    DetachResource
  1707. label00001186:
  1708. 00001186  202E FE94                move.l     D0, [A6 - 0x16C]
  1709. 0000118A  670A                     beq        +0xC /* 00001196 */
  1710. 0000118C  2040                     movea.l    A0, D0
  1711. 0000118E  A04A                     syscall    HNoPurge
  1712. 00001190  2F2E FE94                move.l     -[A7], [A6 - 0x16C]
  1713. 00001194  A992                     syscall    DetachResource
  1714. label00001196:
  1715. 00001196  594F                     subq.w     A7, 4
  1716. 00001198  2F3C 5041 434B           move.l     -[A7], 0x5041434B /* 'PACK' */
  1717. 0000119E  3F3C F000                move.w     -[A7], 0xF000
  1718. 000011A2  A81F                     syscall    Get1Resource
  1719. 000011A4  2C1F                     move.l     D6, [A7]+
  1720. 000011A6  6624                     bne        +0x26 /* 000011CC */
  1721. 000011A8  0C6C 5052 0020           cmpi.w     [A4 + 0x20], 0x5052 /* 'PR' */
  1722. 000011AE  668C                     bne        -0x72 /* 0000113C */
  1723. 000011B0  0CAC 4D41 4353 0024      cmpi.l     [A4 + 0x24], 0x4D414353 /* 'MACS' */
  1724. 000011B8  670A                     beq        +0xC /* 000011C4 */
  1725. 000011BA  0CAC 5052 4553 0020      cmpi.l     [A4 + 0x20], 0x50524553 /* 'PRES' */
  1726. 000011C2  6710                     beq        +0x12 /* 000011D4 */
  1727. label000011C4:
  1728. 000011C4  0287 0000 0001           andi.l     D7, 0x1
  1729. 000011CA  6008                     bra        +0xA /* 000011D4 */
  1730. label000011CC:
  1731. 000011CC  2046                     movea.l    A0, D6
  1732. 000011CE  2050                     movea.l    A0, [A0]
  1733. 000011D0  2E28 000C                move.l     D7, [A0 + 0xC]
  1734. label000011D4:
  1735. 000011D4  41EE FEB0                lea.l      A0, [A6 - 0x150]
  1736. 000011D8  226A 0010                movea.l    A1, [A2 + 0x10]
  1737. 000011DC  2251                     movea.l    A1, [A1]
  1738. 000011DE  6100 1B9E                bsr        +0x1BA0 /* 00002D7E */
  1739. 000011E2  6706                     beq        +0x8 /* 000011EA */
  1740. 000011E4  4A6C 0018                tst.w      [A4 + 0x18]
  1741. 000011E8  6706                     beq        +0x8 /* 000011F0 */
  1742. label000011EA:
  1743. 000011EA  2F06                     move.l     -[A7], D6
  1744. 000011EC  A9A3                     syscall    ReleaseResource
  1745. 000011EE  6004                     bra        +0x6 /* 000011F4 */
  1746. label000011F0:
  1747. 000011F0  3F03                     move.w     -[A7], D3
  1748. 000011F2  A99A                     syscall    CloseResFile
  1749. label000011F4:
  1750. 000011F4  2045                     movea.l    A0, D5
  1751. 000011F6  A025                     syscall    GetHandleSize
  1752. 000011F8  2200                     move.l     D1, D0
  1753. 000011FA  0680 0000 0716           addi.l     D0, 0x716
  1754. 00001200  A024                     syscall    SetHandleSize
  1755. 00001202  6600 01C4                bne        +0x1C6 /* 000013C8 */
  1756. 00001206  2050                     movea.l    A0, [A0]
  1757. 00001208  5250                     addq.w     [A0], 1
  1758. 0000120A  D1C1                     add.l      A0, D1
  1759. 0000120C  2F08                     move.l     -[A7], A0
  1760. 0000120E  10BC 0001                move.b     [A0], 0x1
  1761. 00001212  216C 0020 0002           move.l     [A0 + 0x2], [A4 + 0x20]
  1762. 00001218  216C 0024 0006           move.l     [A0 + 0x6], [A4 + 0x24]
  1763. 0000121E  216C 0048 000A           move.l     [A0 + 0xA], [A4 + 0x48]
  1764. 00001224  2147 000E                move.l     [A0 + 0xE], D7
  1765. 00001228  43E8 0012                lea.l      A1, [A0 + 0x12]
  1766. 0000122C  2044                     movea.l    A0, D4
  1767. 0000122E  2050                     movea.l    A0, [A0]
  1768. 00001230  203C 0000 0100           move.l     D0, 0x100
  1769. 00001236  A02E                     syscall    BlockMove/BlockMoveData
  1770. 00001238  2044                     movea.l    A0, D4
  1771. 0000123A  A023                     syscall    DisposHandle/DisposeHandle
  1772. 0000123C  7800                     moveq.l    D4, 0x00
  1773. 0000123E  2057                     movea.l    A0, [A7]
  1774. 00001240  43E8 0114                lea.l      A1, [A0 + 0x114]
  1775. 00001244  202E FE98                move.l     D0, [A6 - 0x168]
  1776. 00001248  671E                     beq        +0x20 /* 00001268 */
  1777. 0000124A  317C 0001 0112           move.w     [A0 + 0x112], 0x1
  1778. 00001250  2040                     movea.l    A0, D0
  1779. 00001252  2050                     movea.l    A0, [A0]
  1780. 00001254  203C 0000 0200           move.l     D0, 0x200
  1781. 0000125A  A02E                     syscall    BlockMove/BlockMoveData
  1782. 0000125C  206E FE98                movea.l    A0, [A6 - 0x168]
  1783. 00001260  A023                     syscall    DisposHandle/DisposeHandle
  1784. 00001262  42AE FE98                clr.l      [A6 - 0x168]
  1785. 00001266  6004                     bra        +0x6 /* 0000126C */
  1786. label00001268:
  1787. 00001268  4268 0112                clr.w      [A0 + 0x112]
  1788. label0000126C:
  1789. 0000126C  2057                     movea.l    A0, [A7]
  1790. 0000126E  43E8 0316                lea.l      A1, [A0 + 0x316]
  1791. 00001272  202E FE94                move.l     D0, [A6 - 0x16C]
  1792. 00001276  671E                     beq        +0x20 /* 00001296 */
  1793. 00001278  317C 0001 0314           move.w     [A0 + 0x314], 0x1
  1794. 0000127E  2040                     movea.l    A0, D0
  1795. 00001280  2050                     movea.l    A0, [A0]
  1796. 00001282  203C 0000 0400           move.l     D0, 0x400
  1797. 00001288  A02E                     syscall    BlockMove/BlockMoveData
  1798. 0000128A  206E FE94                movea.l    A0, [A6 - 0x16C]
  1799. 0000128E  A023                     syscall    DisposHandle/DisposeHandle
  1800. 00001290  42AE FE94                clr.l      [A6 - 0x16C]
  1801. 00001294  6004                     bra        +0x6 /* 0000129A */
  1802. label00001296:
  1803. 00001296  4268 0314                clr.w      [A0 + 0x314]
  1804. label0000129A:
  1805. 0000129A  1D7C 0001 FEA5           move.b     [A6 - 0x15B], 0x1
  1806. 000012A0  205F                     movea.l    A0, [A7]+
  1807. label000012A2:
  1808. 000012A2  2848                     movea.l    A4, A0
  1809. 000012A4  18BC 0001                move.b     [A4], 0x1
  1810. 000012A8  2045                     movea.l    A0, D5
  1811. 000012AA  A029                     syscall    HLock
  1812. 000012AC  48E7 0010                movem.l    -[A7], A3
  1813. 000012B0  594F                     subq.w     A7, 4
  1814. 000012B2  264F                     movea.l    A3, A7
  1815. 000012B4  554F                     subq.w     A7, 2
  1816. 000012B6  2F0B                     move.l     -[A7], A3
  1817. 000012B8  303C 0207                move.w     D0, 0x207
  1818. 000012BC  ABC9                     syscall    IconDispatch
  1819. 000012BE  4A5F                     tst.w      [A7]+
  1820. 000012C0  265F                     movea.l    A3, [A7]+
  1821. 000012C2  6600 0086                bne        +0x88 /* 0000134A */
  1822. 000012C6  41EC 0012                lea.l      A0, [A4 + 0x12]
  1823. 000012CA  203C 0000 0100           move.l     D0, 0x100
  1824. 000012D0  A9E3                     syscall    PtrToHand
  1825. 000012D2  6676                     bne        +0x78 /* 0000134A */
  1826. 000012D4  554F                     subq.w     A7, 2
  1827. 000012D6  2F08                     move.l     -[A7], A0
  1828. 000012D8  2F0B                     move.l     -[A7], A3
  1829. 000012DA  2F3C 4943 4E23           move.l     -[A7], 0x49434E23 /* 'ICN#' */
  1830. 000012E0  303C 0608                move.w     D0, 0x608
  1831. 000012E4  ABC9                     syscall    IconDispatch
  1832. 000012E6  4A5F                     tst.w      [A7]+
  1833. 000012E8  6660                     bne        +0x62 /* 0000134A */
  1834. 000012EA  0838 0006 028E           btst.b     [0x0000028E /* ROM85 */], 0x6
  1835. 000012F0  6654                     bne        +0x56 /* 00001346 */
  1836. 000012F2  4A6C 0112                tst.w      [A4 + 0x112]
  1837. 000012F6  6724                     beq        +0x26 /* 0000131C */
  1838. 000012F8  41EC 0114                lea.l      A0, [A4 + 0x114]
  1839. 000012FC  203C 0000 0200           move.l     D0, 0x200
  1840. 00001302  A9E3                     syscall    PtrToHand
  1841. 00001304  6644                     bne        +0x46 /* 0000134A */
  1842. 00001306  554F                     subq.w     A7, 2
  1843. 00001308  2F08                     move.l     -[A7], A0
  1844. 0000130A  2F0B                     move.l     -[A7], A3
  1845. 0000130C  2F3C 6963 6C34           move.l     -[A7], 0x69636C34 /* 'icl4' */
  1846. 00001312  303C 0608                move.w     D0, 0x608
  1847. 00001316  ABC9                     syscall    IconDispatch
  1848. 00001318  4A5F                     tst.w      [A7]+
  1849. 0000131A  662E                     bne        +0x30 /* 0000134A */
  1850. label0000131C:
  1851. 0000131C  4A6C 0314                tst.w      [A4 + 0x314]
  1852. 00001320  6724                     beq        +0x26 /* 00001346 */
  1853. 00001322  41EC 0316                lea.l      A0, [A4 + 0x316]
  1854. 00001326  203C 0000 0400           move.l     D0, 0x400
  1855. 0000132C  A9E3                     syscall    PtrToHand
  1856. 0000132E  661A                     bne        +0x1C /* 0000134A */
  1857. 00001330  554F                     subq.w     A7, 2
  1858. 00001332  2F08                     move.l     -[A7], A0
  1859. 00001334  2F0B                     move.l     -[A7], A3
  1860. 00001336  2F3C 6963 6C38           move.l     -[A7], 0x69636C38 /* 'icl8' */
  1861. 0000133C  303C 0608                move.w     D0, 0x608
  1862. 00001340  ABC9                     syscall    IconDispatch
  1863. 00001342  4A5F                     tst.w      [A7]+
  1864. 00001344  6604                     bne        +0x6 /* 0000134A */
  1865. label00001346:
  1866. 00001346  2D4B FEA6                move.l     [A6 - 0x15A], A3
  1867. label0000134A:
  1868. 0000134A  4CDF 0800                movem.l    A3, [A7]+
  1869. 0000134E  2045                     movea.l    A0, D5
  1870. 00001350  A02A                     syscall    HUnlock
  1871. 00001352  41EE FEB0                lea.l      A0, [A6 - 0x150]
  1872. 00001356  6100 0076                bsr        +0x78 /* 000013CE */
  1873. 0000135A  3600                     move.w     D3, D0
  1874. 0000135C  2C13                     move.l     D6, [A3]
  1875. 0000135E  3003                     move.w     D0, D3
  1876. 00001360  6100 1B26                bsr        +0x1B28 /* 00002E88 */
  1877. 00001364  204B                     movea.l    A0, A3
  1878. 00001366  224B                     movea.l    A1, A3
  1879. 00001368  D2FC 000C                add.w      A1, 0xC
  1880. 0000136C  303C 001F                move.w     D0, 0x1F
  1881. 00001370  9043                     sub.w      D0, D3
  1882. 00001372  C0FC 000C                mulu.w     D0, 0xC
  1883. 00001376  A02E                     syscall    BlockMove/BlockMoveData
  1884. 00001378  3003                     move.w     D0, D3
  1885. 0000137A  6100 1B0C                bsr        +0x1B0E /* 00002E88 */
  1886. 0000137E  26AC 0002                move.l     [A3], [A4 + 0x2]
  1887. 00001382  276C 000E 0004           move.l     [A3 + 0x4], [A4 + 0xE]
  1888. 00001388  2746 0008                move.l     [A3 + 0x8], D6
  1889. 0000138C  302A 0062                move.w     D0, [A2 + 0x62]
  1890. 00001390  554F                     subq.w     A7, 2
  1891. 00001392  3F3C 0001                move.w     -[A7], 0x1
  1892. 00001396  3F03                     move.w     -[A7], D3
  1893. 00001398  2F2A 0064                move.l     -[A7], [A2 + 0x64]
  1894. 0000139C  3F3C 0008                move.w     -[A7], 0x8
  1895. 000013A0  A9E7                     syscall    Pack0/ListManager
  1896. 000013A2  544F                     addq.w     A7, 2
  1897. 000013A4  486E FEA6                pea.l      [A6 - 0x15A]
  1898. 000013A8  7000                     moveq.l    D0, 0x00
  1899. 000013AA  102E FEB0                move.b     D0, [A6 - 0x150]
  1900. 000013AE  0640 000B                addi.w     D0, 0xB
  1901. 000013B2  3F00                     move.w     -[A7], D0
  1902. 000013B4  3F3C 0002                move.w     -[A7], 0x2
  1903. 000013B8  3F03                     move.w     -[A7], D3
  1904. 000013BA  2F2A 0064                move.l     -[A7], [A2 + 0x64]
  1905. 000013BE  3F3C 0058                move.w     -[A7], 0x58 /* 'X' */
  1906. 000013C2  A9E7                     syscall    Pack0/ListManager
  1907. 000013C4  526A 0062                addq.w     [A2 + 0x62], 1
  1908. label000013C8:
  1909. 000013C8  4CDF 19D8                movem.l    D3,D4,D6,D7,A0,A3,A4, [A7]+
  1910. 000013CC  4E75                     rts
  1911. fn000013CE:
  1912. 000013CE  4E56 FE94                link       A6, -0x016C
  1913. 000013D2  48E7 1E18                movem.l    -[A7], D3,D4,D5,D6,A3,A4
  1914. 000013D6  2C08                     move.l     D6, A0
  1915. 000013D8  7600                     moveq.l    D3, 0x00
  1916. 000013DA  382A 0062                move.w     D4, [A2 + 0x62]
  1917. label000013DE:
  1918. 000013DE  B843                     cmp.w      D4, D3
  1919. 000013E0  672E                     beq        +0x30 /* 00001410 */
  1920. 000013E2  2003                     move.l     D0, D3
  1921. 000013E4  41EE FEF6                lea.l      A0, [A6 - 0x10A]
  1922. 000013E8  6130                     bsr        +0x32 /* 0000141A */
  1923. 000013EA  7000                     moveq.l    D0, 0x00
  1924. 000013EC  2200                     move.l     D1, D0
  1925. 000013EE  41EE FF00                lea.l      A0, [A6 - 0x100]
  1926. 000013F2  1018                     move.b     D0, [A0]+
  1927. 000013F4  2246                     movea.l    A1, D6
  1928. 000013F6  1219                     move.b     D1, [A1]+
  1929. 000013F8  554F                     subq.w     A7, 2
  1930. 000013FA  2F08                     move.l     -[A7], A0
  1931. 000013FC  2F09                     move.l     -[A7], A1
  1932. 000013FE  3F00                     move.w     -[A7], D0
  1933. 00001400  3F01                     move.w     -[A7], D1
  1934. 00001402  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  1935. 00001406  A9ED                     syscall    Pack6
  1936. 00001408  301F                     move.w     D0, [A7]+
  1937. 0000140A  6E04                     bgt        +0x6 /* 00001410 */
  1938. 0000140C  5243                     addq.w     D3, 1
  1939. 0000140E  60CE                     bra        -0x30 /* 000013DE */
  1940. label00001410:
  1941. 00001410  3003                     move.w     D0, D3
  1942. 00001412  4CDF 1878                movem.l    D3,D4,D5,D6,A3,A4, [A7]+
  1943. 00001416  4E5E                     unlink     A6
  1944. 00001418  4E75                     rts
  1945. fn0000141A:
  1946. 0000141A  3F3C 010A                move.w     -[A7], 0x10A
  1947. 0000141E  2F08                     move.l     -[A7], A0
  1948. 00001420  486F 0004                pea.l      [A7 + 0x4]
  1949. 00001424  3F3C 0002                move.w     -[A7], 0x2
  1950. 00001428  3F00                     move.w     -[A7], D0
  1951. 0000142A  2F2A 0064                move.l     -[A7], [A2 + 0x64]
  1952. 0000142E  3F3C 0038                move.w     -[A7], 0x38 /* '8' */
  1953. 00001432  A9E7                     syscall    Pack0/ListManager
  1954. 00001434  301F                     move.w     D0, [A7]+
  1955. 00001436  4E75                     rts
  1956. fn00001438:
  1957. 00001438  4A40                     tst.w      D0
  1958. 0000143A  6B00 013A                bmi        +0x13C /* 00001576 */
  1959. 0000143E  4E56 FEE8                link       A6, -0x0118
  1960. 00001442  48E7 1400                movem.l    -[A7], D3,D5
  1961. 00001446  3A00                     move.w     D5, D0
  1962. 00001448  0C6A FFFF 000E           cmpi.w     [A2 + 0xE], 0xFFFF
  1963. 0000144E  6708                     beq        +0xA /* 00001458 */
  1964. 00001450  3F2A 000E                move.w     -[A7], [A2 + 0xE]
  1965. 00001454  A998                     syscall    UseResFile
  1966. 00001456  6072                     bra        +0x74 /* 000014CA */
  1967. label00001458:
  1968. 00001458  3005                     move.w     D0, D5
  1969. 0000145A  41EE FEE8                lea.l      A0, [A6 - 0x118]
  1970. 0000145E  6100 17BC                bsr        +0x17BE /* 00002C1C */
  1971. 00001462  554F                     subq.w     A7, 2
  1972. 00001464  3F38 0210                move.w     -[A7], [0x00000210 /* BootDrive */]
  1973. 00001468  202B 0008                move.l     D0, [A3 + 0x8]
  1974. 0000146C  6100 1932                bsr        +0x1934 /* 00002DA0 */
  1975. 00001470  2F00                     move.l     -[A7], D0
  1976. 00001472  486E FEF2                pea.l      [A6 - 0x10E]
  1977. 00001476  1F3C 0003                move.b     -[A7], 0x3
  1978. 0000147A  A81A                     syscall    HOpenResFile
  1979. 0000147C  361F                     move.w     D3, [A7]+
  1980. 0000147E  6B3C                     bmi        +0x3E /* 000014BC */
  1981. 00001480  08AA 0002 0037           bclr.b     [A2 + 0x37], 0x2
  1982. 00001486  0C93 5052 4553           cmpi.l     [A3], 0x50524553 /* 'PRES' */
  1983. 0000148C  6626                     bne        +0x28 /* 000014B4 */
  1984. 0000148E  08EA 0002 0037           bset.b     [A2 + 0x37], 0x2
  1985. 00001494  610A                     bsr        +0xC /* 000014A0 */
  1986. 00001496  6636                     bne        +0x38 /* 000014CE */
  1987. 00001498  6100 16A4                bsr        +0x16A6 /* 00002B3E */
  1988. 0000149C  5240                     addq.w     D0, 1
  1989. 0000149E  6032                     bra        +0x34 /* 000014D2 */
  1990. fn000014A0:
  1991. 000014A0  594F                     subq.w     A7, 4
  1992. 000014A2  2F3C 5041 434B           move.l     -[A7], 0x5041434B /* 'PACK' */
  1993. 000014A8  3F3C F000                move.w     -[A7], 0xF000
  1994. 000014AC  A81F                     syscall    Get1Resource
  1995. 000014AE  255F 005A                move.l     [A2 + 0x5A], [A7]+
  1996. 000014B2  4E75                     rts
  1997. label000014B4:
  1998. 000014B4  61EA                     bsr        -0x14 /* 000014A0 */
  1999. 000014B6  6616                     bne        +0x18 /* 000014CE */
  2000. 000014B8  3F03                     move.w     -[A7], D3
  2001. 000014BA  A99A                     syscall    CloseResFile
  2002. label000014BC:
  2003. 000014BC  3005                     move.w     D0, D5
  2004. 000014BE  6100 017A                bsr        +0x17C /* 0000163A */
  2005. 000014C2  7012                     moveq.l    D0, 0x12
  2006. 000014C4  3205                     move.w     D1, D5
  2007. 000014C6  6100 16B4                bsr        +0x16B6 /* 00002B7C */
  2008. label000014CA:
  2009. 000014CA  6000 00A4                bra        +0xA6 /* 00001570 */
  2010. label000014CE:
  2011. 000014CE  303C F005                move.w     D0, 0xF005
  2012. label000014D2:
  2013. 000014D2  BA6A 000C                cmp.w      D5, [A2 + 0xC]
  2014. 000014D6  67F2                     beq        -0xC /* 000014CA */
  2015. 000014D8  3545 000C                move.w     [A2 + 0xC], D5
  2016. 000014DC  3543 000E                move.w     [A2 + 0xE], D3
  2017. 000014E0  256B 0004 006C           move.l     [A2 + 0x6C], [A3 + 0x4]
  2018. 000014E6  594F                     subq.w     A7, 4
  2019. 000014E8  3F00                     move.w     -[A7], D0
  2020. 000014EA  A9BA                     syscall    GetString
  2021. 000014EC  2A1F                     move.l     D5, [A7]+
  2022. 000014EE  670A                     beq        +0xC /* 000014FA */
  2023. 000014F0  3F3C 000C                move.w     -[A7], 0xC
  2024. 000014F4  2F05                     move.l     -[A7], D5
  2025. 000014F6  6100 149A                bsr        +0x149C /* 00002992 */
  2026. label000014FA:
  2027. 000014FA  0C53 5052                cmpi.w     [A3], 0x5052 /* 'PR' */
  2028. 000014FE  6608                     bne        +0xA /* 00001508 */
  2029. 00001500  41EE FEF2                lea.l      A0, [A6 - 0x10E]
  2030. 00001504  6100 19F2                bsr        +0x19F4 /* 00002EF8 */
  2031. label00001508:
  2032. 00001508  08AA 0003 0037           bclr.b     [A2 + 0x37], 0x3
  2033. 0000150E  7001                     moveq.l    D0, 0x01
  2034. 00001510  6166                     bsr        +0x68 /* 00001578 */
  2035. 00001512  0804 001B                btst.b     D4, 0x1B
  2036. 00001516  672C                     beq        +0x2E /* 00001544 */
  2037. 00001518  2F2E FFF6                move.l     -[A7], [A6 - 0xA]
  2038. 0000151C  2F2E FFF2                move.l     -[A7], [A6 - 0xE]
  2039. 00001520  2F0F                     move.l     -[A7], A7
  2040. 00001522  2F3C FFFC FFFC           move.l     -[A7], 0xFFFCFFFC
  2041. 00001528  A8A9                     syscall    InsetRect
  2042. 0000152A  7010                     moveq.l    D0, 0x10
  2043. 0000152C  6100 14D0                bsr        +0x14D2 /* 000029FE */
  2044. 00001530  2D5F FFF2                move.l     [A6 - 0xE], [A7]+
  2045. 00001534  2D5F FFF6                move.l     [A6 - 0xA], [A7]+
  2046. 00001538  7010                     moveq.l    D0, 0x10
  2047. 0000153A  6100 14F8                bsr        +0x14FA /* 00002A34 */
  2048. 0000153E  486E FFF2                pea.l      [A6 - 0xE]
  2049. 00001542  A928                     syscall    InvalRect
  2050. label00001544:
  2051. 00001544  7002                     moveq.l    D0, 0x02
  2052. 00001546  6130                     bsr        +0x32 /* 00001578 */
  2053. 00001548  7003                     moveq.l    D0, 0x03
  2054. 0000154A  612C                     bsr        +0x2E /* 00001578 */
  2055. 0000154C  7004                     moveq.l    D0, 0x04
  2056. 0000154E  6128                     bsr        +0x2A /* 00001578 */
  2057. 00001550  206C 001E                movea.l    A0, [A4 + 0x1E]
  2058. 00001554  317C 0002 006C           move.w     [A0 + 0x6C], 0x2
  2059. 0000155A  7005                     moveq.l    D0, 0x05
  2060. 0000155C  611A                     bsr        +0x1C /* 00001578 */
  2061. 0000155E  206C 001E                movea.l    A0, [A4 + 0x1E]
  2062. 00001562  316C 0018 006C           move.w     [A0 + 0x6C], [A4 + 0x18]
  2063. 00001568  6100 12D6                bsr        +0x12D8 /* 00002840 */
  2064. 0000156C  6100 0562                bsr        +0x564 /* 00001AD0 */
  2065. label00001570:
  2066. 00001570  4CDF 0028                movem.l    D3,D5, [A7]+
  2067. 00001574  4E5E                     unlink     A6
  2068. label00001576:
  2069. 00001576  4E75                     rts
  2070. fn00001578:
  2071. 00001578  48E7 1410                movem.l    -[A7], D3,D5,A3
  2072. 0000157C  761C                     moveq.l    D3, 0x1C
  2073. 0000157E  9640                     sub.w      D3, D0
  2074. 00001580  0C40 0003                cmpi.w     D0, 0x3
  2075. 00001584  6502                     bcs        +0x4 /* 00001588 */
  2076. 00001586  7614                     moveq.l    D3, 0x14
  2077. label00001588:
  2078. 00001588  0704                     btst       D4, D3
  2079. 0000158A  6700 00A8                beq        +0xAA /* 00001634 */
  2080. 0000158E  3600                     move.w     D3, D0
  2081. 00001590  6100 146C                bsr        +0x146E /* 000029FE */
  2082. 00001594  266E FFFA                movea.l    A3, [A6 - 0x6]
  2083. 00001598  6100 15A4                bsr        +0x15A6 /* 00002B3E */
  2084. 0000159C  3A00                     move.w     D5, D0
  2085. 0000159E  4278 0A5E                clr.w      [0x00000A5E /* ResLoad */]
  2086. 000015A2  594F                     subq.w     A7, 4
  2087. 000015A4  2F3C 6E72 6374           move.l     -[A7], 0x6E726374 /* 'nrct' */
  2088. 000015AA  3F3C F000                move.w     -[A7], 0xF000
  2089. 000015AE  A81F                     syscall    Get1Resource
  2090. 000015B0  31FC FFFF 0A5E           move.w     [0x00000A5E /* ResLoad */], 0xFFFF
  2091. 000015B6  4A9F                     tst.l      [A7]+
  2092. 000015B8  6704                     beq        +0x6 /* 000015BE */
  2093. 000015BA  3A3C F000                move.w     D5, 0xF000
  2094. label000015BE:
  2095. 000015BE  486E FFF2                pea.l      [A6 - 0xE]
  2096. 000015C2  3F05                     move.w     -[A7], D5
  2097. 000015C4  3F03                     move.w     -[A7], D3
  2098. 000015C6  6100 14EC                bsr        +0x14EE /* 00002AB4 */
  2099. 000015CA  3003                     move.w     D0, D3
  2100. 000015CC  6100 1466                bsr        +0x1468 /* 00002A34 */
  2101. 000015D0  594F                     subq.w     A7, 4
  2102. 000015D2  303C F002                move.w     D0, 0xF002
  2103. 000015D6  0C43 0003                cmpi.w     D3, 0x3
  2104. 000015DA  6504                     bcs        +0x6 /* 000015E0 */
  2105. 000015DC  303C F004                move.w     D0, 0xF004
  2106. label000015E0:
  2107. 000015E0  D043                     add.w      D0, D3
  2108. 000015E2  3F00                     move.w     -[A7], D0
  2109. 000015E4  A9BA                     syscall    GetString
  2110. 000015E6  2A1F                     move.l     D5, [A7]+
  2111. 000015E8  6718                     beq        +0x1A /* 00001602 */
  2112. 000015EA  2045                     movea.l    A0, D5
  2113. 000015EC  A029                     syscall    HLock
  2114. 000015EE  2F0B                     move.l     -[A7], A3
  2115. 000015F0  2F10                     move.l     -[A7], [A0]
  2116. 000015F2  0C43 0005                cmpi.w     D3, 0x5
  2117. 000015F6  6704                     beq        +0x6 /* 000015FC */
  2118. 000015F8  A95F                     syscall    SetControlTitle/SetCTitle
  2119. 000015FA  6002                     bra        +0x4 /* 000015FE */
  2120. label000015FC:
  2121. 000015FC  A98F                     syscall    SetDialogItemText/SetIText
  2122. label000015FE:
  2123. 000015FE  2045                     movea.l    A0, D5
  2124. 00001600  A02A                     syscall    HUnlock
  2125. label00001602:
  2126. 00001602  0C43 0005                cmpi.w     D3, 0x5
  2127. 00001606  672C                     beq        +0x2E /* 00001634 */
  2128. 00001608  41EE FFF2                lea.l      A0, [A6 - 0xE]
  2129. 0000160C  2253                     movea.l    A1, [A3]
  2130. 0000160E  2350 0008                move.l     [A1 + 0x8], [A0]
  2131. 00001612  2368 0004 000C           move.l     [A1 + 0xC], [A0 + 0x4]
  2132. 00001618  2F0B                     move.l     -[A7], A3
  2133. 0000161A  7000                     moveq.l    D0, 0x00
  2134. 0000161C  0C43 0001                cmpi.w     D3, 0x1
  2135. 00001620  6604                     bne        +0x6 /* 00001626 */
  2136. 00001622  303C 00FF                move.w     D0, 0xFF
  2137. label00001626:
  2138. 00001626  3F00                     move.w     -[A7], D0
  2139. 00001628  A95D                     syscall    HiliteControl
  2140. 0000162A  0C43 0003                cmpi.w     D3, 0x3
  2141. 0000162E  6404                     bcc        +0x6 /* 00001634 */
  2142. 00001630  2F0B                     move.l     -[A7], A3
  2143. 00001632  A957                     syscall    ShowControl
  2144. label00001634:
  2145. 00001634  4CDF 0828                movem.l    D3,D5,A3, [A7]+
  2146. 00001638  4E75                     rts
  2147. fn0000163A:
  2148. 0000163A  4A40                     tst.w      D0
  2149. 0000163C  6B16                     bmi        +0x18 /* 00001654 */
  2150. 0000163E  4227                     clr.b      -[A7]
  2151. 00001640  7200                     moveq.l    D1, 0x00
  2152. 00001642  E248                     lsr        D0.w, 1
  2153. 00001644  D341                     addx.w     D1, D1
  2154. 00001646  3F01                     move.w     -[A7], D1
  2155. 00001648  3F00                     move.w     -[A7], D0
  2156. 0000164A  2F2A 0064                move.l     -[A7], [A2 + 0x64]
  2157. 0000164E  3F3C 005C                move.w     -[A7], 0x5C /* '\\' */
  2158. 00001652  A9E7                     syscall    Pack0/ListManager
  2159. label00001654:
  2160. 00001654  357C FFFF 000C           move.w     [A2 + 0xC], 0xFFFF
  2161. 0000165A  7006                     moveq.l    D0, 0x06
  2162. 0000165C  6100 13A0                bsr        +0x13A2 /* 000029FE */
  2163. 00001660  486E FFF2                pea.l      [A6 - 0xE]
  2164. 00001664  2F38 0A02                move.l     -[A7], [0x00000A02 /* OneOne */]
  2165. 00001668  A8A9                     syscall    InsetRect
  2166. 0000166A  302E FFF8                move.w     D0, [A6 - 0x8]
  2167. 0000166E  0440 000F                subi.w     D0, 0xF
  2168. 00001672  3D40 FFF4                move.w     [A6 - 0xC], D0
  2169. 00001676  486E FFF2                pea.l      [A6 - 0xE]
  2170. 0000167A  2F17                     move.l     -[A7], [A7]
  2171. 0000167C  A8A3                     syscall    EraseRect
  2172. 0000167E  A92A                     syscall    ValidRect
  2173. 00001680  700C                     moveq.l    D0, 0x0C
  2174. 00001682  6100 137A                bsr        +0x137C /* 000029FE */
  2175. 00001686  2F2E FFFA                move.l     -[A7], [A6 - 0x6]
  2176. 0000168A  487A 1706                pea.l      [PC + 0x1706 /* 00002D92, value 0x42E, cstring "" */]
  2177. 0000168E  206C 001E                movea.l    A0, [A4 + 0x1E]
  2178. 00001692  317C 0002 006C           move.w     [A0 + 0x6C], 0x2
  2179. 00001698  A98F                     syscall    SetDialogItemText/SetIText
  2180. 0000169A  206C 001E                movea.l    A0, [A4 + 0x1E]
  2181. 0000169E  316C 0018 006C           move.w     [A0 + 0x6C], [A4 + 0x18]
  2182. 000016A4  4E75                     rts
  2183. fn000016A6:
  2184. 000016A6  7011                     moveq.l    D0, 0x11
  2185. 000016A8  6100 1660                bsr        +0x1662 /* 00002D0A */
  2186. 000016AC  0804 001F                btst.b     D4, 0x1F
  2187. 000016B0  670A                     beq        +0xC /* 000016BC */
  2188. 000016B2  0804 000F                btst.b     D4, 0xF
  2189. 000016B6  6604                     bne        +0x6 /* 000016BC */
  2190. 000016B8  6100 0DEE                bsr        +0xDF0 /* 000024A8 */
  2191. label000016BC:
  2192. 000016BC  4E75                     rts
  2193. fn000016BE:
  2194. 000016BE  61E6                     bsr        -0x18 /* 000016A6 */
  2195. 000016C0  4267                     clr.w      -[A7]
  2196. 000016C2  4267                     clr.w      -[A7]
  2197. 000016C4  2F2A 0008                move.l     -[A7], [A2 + 0x8]
  2198. 000016C8  3F3C 0024                move.w     -[A7], 0x24 /* '$' */
  2199. 000016CC  A9E7                     syscall    Pack0/ListManager
  2200. 000016CE  4E75                     rts
  2201. fn000016D0:
  2202. 000016D0  4E56 FFF2                link       A6, -0x000E
  2203. 000016D4  48E7 1810                movem.l    -[A7], D3,D4,A3
  2204. 000016D8  362A 000C                move.w     D3, [A2 + 0xC]
  2205. 000016DC  6B68                     bmi        +0x6A /* 00001746 */
  2206. 000016DE  282A 006C                move.l     D4, [A2 + 0x6C]
  2207. 000016E2  61C2                     bsr        -0x3C /* 000016A6 */
  2208. 000016E4  A896                     syscall    HidePen
  2209. 000016E6  41EA 0008                lea.l      A0, [A2 + 0x8]
  2210. 000016EA  6100 0C1C                bsr        +0xC1E /* 00002308 */
  2211. 000016EE  A897                     syscall    ShowPen
  2212. 000016F0  7006                     moveq.l    D0, 0x06
  2213. 000016F2  6100 130A                bsr        +0x130C /* 000029FE */
  2214. 000016F6  486E FFF2                pea.l      [A6 - 0xE]
  2215. 000016FA  2F38 0A02                move.l     -[A7], [0x00000A02 /* OneOne */]
  2216. 000016FE  A8A9                     syscall    InsetRect
  2217. 00001700  046E 000F FFF8           subi.w     [A6 - 0x8], 0xF
  2218. 00001706  486E FFF2                pea.l      [A6 - 0xE]
  2219. 0000170A  2F17                     move.l     -[A7], [A7]
  2220. 0000170C  A8A3                     syscall    EraseRect
  2221. 0000170E  A92A                     syscall    ValidRect
  2222. 00001710  6100 1354                bsr        +0x1356 /* 00002A66 */
  2223. 00001714  7005                     moveq.l    D0, 0x05
  2224. 00001716  6100 1334                bsr        +0x1336 /* 00002A4C */
  2225. 0000171A  7010                     moveq.l    D0, 0x10
  2226. 0000171C  6100 132E                bsr        +0x1330 /* 00002A4C */
  2227. 00001720  302A 000E                move.w     D0, [A2 + 0xE]
  2228. 00001724  3F00                     move.w     -[A7], D0
  2229. 00001726  B06A 0014                cmp.w      D0, [A2 + 0x14]
  2230. 0000172A  6704                     beq        +0x6 /* 00001730 */
  2231. 0000172C  A99A                     syscall    CloseResFile
  2232. 0000172E  6008                     bra        +0xA /* 00001738 */
  2233. label00001730:
  2234. 00001730  A999                     syscall    UpdateResFile
  2235. 00001732  2F2A 005A                move.l     -[A7], [A2 + 0x5A]
  2236. 00001736  A9A3                     syscall    ReleaseResource
  2237. label00001738:
  2238. 00001738  70FF                     moveq.l    D0, 0xFFFFFFFF
  2239. 0000173A  3540 000C                move.w     [A2 + 0xC], D0
  2240. 0000173E  3540 000E                move.w     [A2 + 0xE], D0
  2241. 00001742  6100 F894                bsr        -0x76A /* 00000FD8 */
  2242. label00001746:
  2243. 00001746  4CDF 0818                movem.l    D3,D4,A3, [A7]+
  2244. 0000174A  4E5E                     unlink     A6
  2245. 0000174C  4E75                     rts
  2246. fn0000174E:
  2247. 0000174E  08EA 0001 0037           bset.b     [A2 + 0x37], 0x1
  2248. 00001754  1238 01FB                move.b     D1, [0x000001FB /* SPConfig */]
  2249. 00001758  1001                     move.b     D0, D1
  2250. 0000175A  0200 00F0                andi.b     D0, 0xF0
  2251. 0000175E  660E                     bne        +0x10 /* 0000176E */
  2252. 00001760  1038 0290                move.b     D0, [0x00000290 /* PortAUse */]
  2253. 00001764  6A02                     bpl        +0x4 /* 00001768 */
  2254. 00001766  7002                     moveq.l    D0, 0x02
  2255. label00001768:
  2256. 00001768  E908                     lsl        D0.b, 4
  2257. 0000176A  8138 01FB                or.b       [0x000001FB /* SPConfig */], D0
  2258. label0000176E:
  2259. 0000176E  0201 000F                andi.b     D1, 0xF
  2260. 00001772  6610                     bne        +0x12 /* 00001784 */
  2261. 00001774  1038 0291                move.b     D0, [0x00000291 /* PortBUse */]
  2262. 00001778  6A02                     bpl        +0x4 /* 0000177C */
  2263. 0000177A  7002                     moveq.l    D0, 0x02
  2264. label0000177C:
  2265. 0000177C  0200 000F                andi.b     D0, 0xF
  2266. 00001780  8138 01FB                or.b       [0x000001FB /* SPConfig */], D0
  2267. label00001784:
  2268. 00001784  6100 024C                bsr        +0x24E /* 000019D2 */
  2269. fn00001788:
  2270. 00001788  4E56 FFF2                link       A6, -0x000E
  2271. 0000178C  2F07                     move.l     -[A7], D7
  2272. 0000178E  08AA 0000 0037           bclr.b     [A2 + 0x37], 0x0
  2273. 00001794  7E00                     moveq.l    D7, 0x00
  2274. 00001796  1038 01FB                move.b     D0, [0x000001FB /* SPConfig */]
  2275. 0000179A  0200 000F                andi.b     D0, 0xF
  2276. 0000179E  0C00 0001                cmpi.b     D0, 0x1
  2277. 000017A2  6712                     beq        +0x14 /* 000017B6 */
  2278. 000017A4  4A6A 000C                tst.w      [A2 + 0xC]
  2279. 000017A8  6B30                     bmi        +0x32 /* 000017DA */
  2280. 000017AA  0804 001F                btst.b     D4, 0x1F
  2281. 000017AE  672A                     beq        +0x2C /* 000017DA */
  2282. 000017B0  6100 FF1E                bsr        -0xE0 /* 000016D0 */
  2283. 000017B4  6024                     bra        +0x26 /* 000017DA */
  2284. label000017B6:
  2285. 000017B6  08EA 0000 0037           bset.b     [A2 + 0x37], 0x0
  2286. 000017BC  7E01                     moveq.l    D7, 0x01
  2287. 000017BE  6158                     bsr        +0x5A /* 00001818 */
  2288. 000017C0  0C40 0000                cmpi.w     D0, 0x0
  2289. 000017C4  6702                     beq        +0x4 /* 000017C8 */
  2290. 000017C6  6012                     bra        +0x14 /* 000017DA */
  2291. label000017C8:
  2292. 000017C8  2078 02D8                movea.l    A0, [0x000002D8 /* ABusVars */]
  2293. 000017CC  4A28 0019                tst.b      [A0 + 0x19]
  2294. 000017D0  660E                     bne        +0x10 /* 000017E0 */
  2295. 000017D2  08AA 0005 0037           bclr.b     [A2 + 0x37], 0x5
  2296. 000017D8  6718                     beq        +0x1A /* 000017F2 */
  2297. label000017DA:
  2298. 000017DA  6100 00B2                bsr        +0xB4 /* 0000188E */
  2299. 000017DE  6012                     bra        +0x14 /* 000017F2 */
  2300. label000017E0:
  2301. 000017E0  08EA 0005 0037           bset.b     [A2 + 0x37], 0x5
  2302. 000017E6  660A                     bne        +0xC /* 000017F2 */
  2303. 000017E8  6100 04E2                bsr        +0x4E4 /* 00001CCC */
  2304. 000017EC  6704                     beq        +0x6 /* 000017F2 */
  2305. 000017EE  0847 0000                bchg.b     D7, 0x0
  2306. label000017F2:
  2307. 000017F2  7009                     moveq.l    D0, 0x09
  2308. 000017F4  6100 1208                bsr        +0x120A /* 000029FE */
  2309. 000017F8  2F2E FFFA                move.l     -[A7], [A6 - 0x6]
  2310. 000017FC  3F07                     move.w     -[A7], D7
  2311. 000017FE  A963                     syscall    SetControlValue/SetCtlValue
  2312. 00001800  700A                     moveq.l    D0, 0x0A
  2313. 00001802  6100 11FA                bsr        +0x11FC /* 000029FE */
  2314. 00001806  2F2E FFFA                move.l     -[A7], [A6 - 0x6]
  2315. 0000180A  0847 0000                bchg.b     D7, 0x0
  2316. 0000180E  3F07                     move.w     -[A7], D7
  2317. 00001810  A963                     syscall    SetControlValue/SetCtlValue
  2318. 00001812  2E1F                     move.l     D7, [A7]+
  2319. 00001814  4E5E                     unlink     A6
  2320. 00001816  4E75                     rts
  2321. fn00001818:
  2322. 00001818  08AA 0000 0037           bclr.b     [A2 + 0x37], 0x0
  2323. 0000181E  1038 01FB                move.b     D0, [0x000001FB /* SPConfig */]
  2324. 00001822  0200 000F                andi.b     D0, 0xF
  2325. 00001826  0C00 0001                cmpi.b     D0, 0x1
  2326. 0000182A  6706                     beq        +0x8 /* 00001832 */
  2327. 0000182C  303C FF9E                move.w     D0, 0xFF9E
  2328. 00001830  6022                     bra        +0x24 /* 00001854 */
  2329. label00001832:
  2330. 00001832  08EA 0000 0037           bset.b     [A2 + 0x37], 0x0
  2331. 00001838  1038 0291                move.b     D0, [0x00000291 /* PortBUse */]
  2332. 0000183C  0200 008F                andi.b     D0, 0x8F
  2333. 00001840  0C00 0001                cmpi.b     D0, 0x1
  2334. 00001844  6604                     bne        +0x6 /* 0000184A */
  2335. 00001846  4240                     clr.w      D0
  2336. 00001848  600A                     bra        +0xC /* 00001854 */
  2337. label0000184A:
  2338. 0000184A  08AA 0005 0037           bclr.b     [A2 + 0x37], 0x5
  2339. 00001850  613C                     bsr        +0x3E /* 0000188E */
  2340. 00001852  6002                     bra        +0x4 /* 00001856 */
  2341. label00001854:
  2342. 00001854  4E75                     rts
  2343. label00001856:
  2344. 00001856  41FA 1542                lea.l      A0, [PC + 0x1542 /* 00002D9A, value 0x42E4D50, pstring ".MPP" */]
  2345. fn0000185A:
  2346. 0000185A  9EFC 0032                sub.w      A7, 0x32 /* '2' */
  2347. 0000185E  2F48 0012                move.l     [A7 + 0x12], A0
  2348. 00001862  422F 001B                clr.b      [A7 + 0x1B]
  2349. 00001866  204F                     movea.l    A0, A7
  2350. 00001868  A000                     syscall    Open/PBHOpen/HOpen
  2351. 0000186A  4FEF 0032                lea.l      A7, [A7 + 0x32]
  2352. 0000186E  671C                     beq        +0x1E /* 0000188C */
  2353. 00001870  3F00                     move.w     -[A7], D0
  2354. 00001872  7018                     moveq.l    D0, 0x18
  2355. 00001874  6100 1304                bsr        +0x1306 /* 00002B7A */
  2356. 00001878  0238 00F0 01FB           andi.b     [0x000001FB /* SPConfig */], 0xF0
  2357. 0000187E  0038 0002 01FB           ori.b      [0x000001FB /* SPConfig */], 0x2
  2358. 00001884  08AA 0000 0037           bclr.b     [A2 + 0x37], 0x0
  2359. 0000188A  301F                     move.w     D0, [A7]+
  2360. label0000188C:
  2361. 0000188C  4E75                     rts
  2362. fn0000188E:
  2363. 0000188E  3F07                     move.w     -[A7], D7
  2364. 00001890  51C7                     sf         D7
  2365. 00001892  4A6A 000C                tst.w      [A2 + 0xC]
  2366. 00001896  6B1A                     bmi        +0x1C /* 000018B2 */
  2367. 00001898  0804 001F                btst.b     D4, 0x1F
  2368. 0000189C  6714                     beq        +0x16 /* 000018B2 */
  2369. 0000189E  0C6A 012A 0016           cmpi.w     [A2 + 0x16], 0x12A
  2370. 000018A4  6606                     bne        +0x8 /* 000018AC */
  2371. 000018A6  0804 0018                btst.b     D4, 0x18
  2372. 000018AA  6706                     beq        +0x8 /* 000018B2 */
  2373. label000018AC:
  2374. 000018AC  50C7                     st         D7
  2375. 000018AE  6100 FE0E                bsr        -0x1F0 /* 000016BE */
  2376. label000018B2:
  2377. 000018B2  357C 012A 0016           move.w     [A2 + 0x16], 0x12A
  2378. 000018B8  357C 012A 0038           move.w     [A2 + 0x38], 0x12A
  2379. 000018BE  41EA 0068                lea.l      A0, [A2 + 0x68]
  2380. 000018C2  6100 0A44                bsr        +0xA46 /* 00002308 */
  2381. 000018C6  6714                     beq        +0x16 /* 000018DC */
  2382. 000018C8  7007                     moveq.l    D0, 0x07
  2383. 000018CA  7206                     moveq.l    D1, 0x06
  2384. 000018CC  6100 11C2                bsr        +0x11C4 /* 00002A90 */
  2385. 000018D0  700D                     moveq.l    D0, 0x0D
  2386. 000018D2  7206                     moveq.l    D1, 0x06
  2387. 000018D4  6100 11BA                bsr        +0x11BC /* 00002A90 */
  2388. 000018D8  7208                     moveq.l    D1, 0x08
  2389. 000018DA  610C                     bsr        +0xE /* 000018E8 */
  2390. label000018DC:
  2391. 000018DC  4A07                     tst.b      D7
  2392. 000018DE  6704                     beq        +0x6 /* 000018E4 */
  2393. 000018E0  6100 0338                bsr        +0x33A /* 00001C1A */
  2394. label000018E4:
  2395. 000018E4  3E1F                     move.w     D7, [A7]+
  2396. 000018E6  4E75                     rts
  2397. fn000018E8:
  2398. 000018E8  7008                     moveq.l    D0, 0x08
  2399. 000018EA  6100 11A4                bsr        +0x11A6 /* 00002A90 */
  2400. 000018EE  302E FFF8                move.w     D0, [A6 - 0x8]
  2401. 000018F2  906E FFF4                sub.w      D0, [A6 - 0xC]
  2402. 000018F6  0440 0011                subi.w     D0, 0x11
  2403. 000018FA  3F00                     move.w     -[A7], D0
  2404. 000018FC  302E FFF6                move.w     D0, [A6 - 0xA]
  2405. 00001900  906E FFF2                sub.w      D0, [A6 - 0xE]
  2406. 00001904  5540                     subq.w     D0, 2
  2407. 00001906  3F00                     move.w     -[A7], D0
  2408. 00001908  2F2A 0064                move.l     -[A7], [A2 + 0x64]
  2409. 0000190C  A896                     syscall    HidePen
  2410. 0000190E  3F3C 0060                move.w     -[A7], 0x60 /* '`' */
  2411. 00001912  A9E7                     syscall    Pack0/ListManager
  2412. 00001914  A897                     syscall    ShowPen
  2413. 00001916  486E FFF2                pea.l      [A6 - 0xE]
  2414. 0000191A  A928                     syscall    InvalRect
  2415. 0000191C  41EE FFF2                lea.l      A0, [A6 - 0xE]
  2416. 00001920  2F08                     move.l     -[A7], A0
  2417. 00001922  2F08                     move.l     -[A7], A0
  2418. 00001924  2F08                     move.l     -[A7], A0
  2419. 00001926  6100 1216                bsr        +0x1218 /* 00002B3E */
  2420. 0000192A  3F00                     move.w     -[A7], D0
  2421. 0000192C  3F3C 000B                move.w     -[A7], 0xB
  2422. 00001930  6100 1182                bsr        +0x1184 /* 00002AB4 */
  2423. 00001934  A8A3                     syscall    EraseRect
  2424. 00001936  A928                     syscall    InvalRect
  2425. 00001938  4E75                     rts
  2426. fn0000193A:
  2427. 0000193A  1038 0290                move.b     D0, [0x00000290 /* PortAUse */]
  2428. 0000193E  0838 0000 0207           btst.b     [0x00000207 /* SPPrint */], 0x0
  2429. 00001944  6630                     bne        +0x32 /* 00001976 */
  2430. 00001946  303C 0013                move.w     D0, 0x13
  2431. 0000194A  2078 0B18                movea.l    A0, [0x00000B18 /* LAPMgrPtr */]
  2432. 0000194E  B0FC FFFF                cmpa.w     A0, 0xFFFF
  2433. 00001952  671E                     beq        +0x20 /* 00001972 */
  2434. 00001954  48E7 0028                movem.l    -[A7], A2,A4
  2435. 00001958  4EA8 0002                jsr        [A0 + 0x2]
  2436. 0000195C  4CDF 1400                movem.l    A2,A4, [A7]+
  2437. 00001960  0C40 FFFF                cmpi.w     D0, 0xFFFF
  2438. 00001964  670C                     beq        +0xE /* 00001972 */
  2439. 00001966  4A01                     tst.b      D1
  2440. 00001968  6B24                     bmi        +0x26 /* 0000198E */
  2441. 0000196A  0C01 0002                cmpi.b     D1, 0x2
  2442. 0000196E  671E                     beq        +0x20 /* 0000198E */
  2443. 00001970  6014                     bra        +0x16 /* 00001986 */
  2444. label00001972:
  2445. 00001972  1038 0291                move.b     D0, [0x00000291 /* PortBUse */]
  2446. label00001976:
  2447. 00001976  4A00                     tst.b      D0
  2448. 00001978  6B14                     bmi        +0x16 /* 0000198E */
  2449. 0000197A  0200 000F                andi.b     D0, 0xF
  2450. 0000197E  670E                     beq        +0x10 /* 0000198E */
  2451. 00001980  0C40 0002                cmpi.w     D0, 0x2
  2452. 00001984  6708                     beq        +0xA /* 0000198E */
  2453. label00001986:
  2454. 00001986  0A38 0001 0207           xori.b     [0x00000207 /* SPPrint */], 0x1
  2455. 0000198C  6144                     bsr        +0x46 /* 000019D2 */
  2456. label0000198E:
  2457. 0000198E  4A6A 000C                tst.w      [A2 + 0xC]
  2458. 00001992  6B3C                     bmi        +0x3E /* 000019D0 */
  2459. 00001994  082A 0002 0037           btst.b     [A2 + 0x37], 0x2
  2460. 0000199A  6734                     beq        +0x36 /* 000019D0 */
  2461. 0000199C  4227                     clr.b      -[A7]
  2462. 0000199E  0838 0000 0207           btst.b     [0x00000207 /* SPPrint */], 0x0
  2463. 000019A4  6602                     bne        +0x4 /* 000019A8 */
  2464. 000019A6  5217                     addq.b     [A7], 1
  2465. label000019A8:
  2466. 000019A8  42A7                     clr.l      -[A7]
  2467. 000019AA  2F2A 0008                move.l     -[A7], [A2 + 0x8]
  2468. 000019AE  3F3C 005C                move.w     -[A7], 0x5C /* '\\' */
  2469. 000019B2  A9E7                     syscall    Pack0/ListManager
  2470. 000019B4  4227                     clr.b      -[A7]
  2471. 000019B6  0838 0000 0207           btst.b     [0x00000207 /* SPPrint */], 0x0
  2472. 000019BC  6702                     beq        +0x4 /* 000019C0 */
  2473. 000019BE  5217                     addq.b     [A7], 1
  2474. label000019C0:
  2475. 000019C0  7001                     moveq.l    D0, 0x01
  2476. 000019C2  4840                     swap.w     D0
  2477. 000019C4  2F00                     move.l     -[A7], D0
  2478. 000019C6  2F2A 0008                move.l     -[A7], [A2 + 0x8]
  2479. 000019CA  3F3C 005C                move.w     -[A7], 0x5C /* '\\' */
  2480. 000019CE  A9E7                     syscall    Pack0/ListManager
  2481. label000019D0:
  2482. 000019D0  4E75                     rts
  2483. fn000019D2:
  2484. 000019D2  41F8 01F8                lea.l      A0, [0x000001F8 /* SPValid/SysParam */]
  2485. 000019D6  70FF                     moveq.l    D0, 0xFFFFFFFF
  2486. 000019D8  A038                     syscall    WriteParam
  2487. 000019DA  4E75                     rts
  2488. fn000019DC:
  2489. 000019DC  266E 000A                movea.l    A3, [A6 + 0xA]
  2490. 000019E0  594F                     subq.w     A7, 4
  2491. 000019E2  2F0B                     move.l     -[A7], A3
  2492. 000019E4  A917                     syscall    GetWRefCon
  2493. 000019E6  201F                     move.l     D0, [A7]+
  2494. 000019E8  2440                     movea.l    A2, D0
  2495. 000019EA  6706                     beq        +0x8 /* 000019F2 */
  2496. 000019EC  2452                     movea.l    A2, [A2]
  2497. 000019EE  286A 0004                movea.l    A4, [A2 + 0x4]
  2498. label000019F2:
  2499. 000019F2  4E75                     rts
  2500. 000019F4  4E56 FFF2                link       A6, -0x000E
  2501. 000019F8  48E7 0038                movem.l    -[A7], A2,A3,A4
  2502. 000019FC  61DE                     bsr        -0x20 /* 000019DC */
  2503. 000019FE  670A                     beq        +0xC /* 00001A0A */
  2504. 00001A00  4A2B 006F                tst.b      [A3 + 0x6F]
  2505. 00001A04  6704                     beq        +0x6 /* 00001A0A */
  2506. 00001A06  6100 0974                bsr        +0x976 /* 0000237C */
  2507. label00001A0A:
  2508. 00001A0A  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  2509. 00001A0E  4E5E                     unlink     A6
  2510. 00001A10  205F                     movea.l    A0, [A7]+
  2511. 00001A12  5C4F                     addq.w     A7, 6
  2512. 00001A14  4ED0                     jmp        [A0]
  2513. 00001A16  4E56 FFF2                link       A6, -0x000E
  2514. 00001A1A  48E7 0138                movem.l    -[A7], D7,A2,A3,A4
  2515. 00001A1E  61BC                     bsr        -0x42 /* 000019DC */
  2516. 00001A20  673E                     beq        +0x40 /* 00001A60 */
  2517. 00001A22  302E 0008                move.w     D0, [A6 + 0x8]
  2518. 00001A26  206E 000A                movea.l    A0, [A6 + 0xA]
  2519. 00001A2A  6100 0FD6                bsr        +0xFD8 /* 00002A02 */
  2520. 00001A2E  486E FFF2                pea.l      [A6 - 0xE]
  2521. 00001A32  A8A1                     syscall    FrameRect
  2522. 00001A34  302E 0008                move.w     D0, [A6 + 0x8]
  2523. 00001A38  2E2A 0008                move.l     D7, [A2 + 0x8]
  2524. 00001A3C  0C40 0006                cmpi.w     D0, 0x6
  2525. 00001A40  670E                     beq        +0x10 /* 00001A50 */
  2526. 00001A42  2E2A 0068                move.l     D7, [A2 + 0x68]
  2527. 00001A46  0C40 0007                cmpi.w     D0, 0x7
  2528. 00001A4A  6704                     beq        +0x6 /* 00001A50 */
  2529. 00001A4C  2E2A 0064                move.l     D7, [A2 + 0x64]
  2530. label00001A50:
  2531. 00001A50  4A87                     tst.l      D7
  2532. 00001A52  670C                     beq        +0xE /* 00001A60 */
  2533. 00001A54  2F2B 0018                move.l     -[A7], [A3 + 0x18]
  2534. 00001A58  2F07                     move.l     -[A7], D7
  2535. 00001A5A  3F3C 0064                move.w     -[A7], 0x64 /* 'd' */
  2536. 00001A5E  A9E7                     syscall    Pack0/ListManager
  2537. label00001A60:
  2538. 00001A60  4CDF 1C80                movem.l    D7,A2,A3,A4, [A7]+
  2539. 00001A64  4E5E                     unlink     A6
  2540. 00001A66  205F                     movea.l    A0, [A7]+
  2541. 00001A68  5C4F                     addq.w     A7, 6
  2542. 00001A6A  4ED0                     jmp        [A0]
  2543. fn00001A6C:
  2544. 00001A6C  4E56 FFE0                link       A6, -0x0020
  2545. 00001A70  48E7 0038                movem.l    -[A7], A2,A3,A4
  2546. 00001A74  6100 FF66                bsr        -0x98 /* 000019DC */
  2547. 00001A78  302E 0008                move.w     D0, [A6 + 0x8]
  2548. 00001A7C  206E 000A                movea.l    A0, [A6 + 0xA]
  2549. 00001A80  6100 0F80                bsr        +0xF82 /* 00002A02 */
  2550. 00001A84  486E FFE0                pea.l      [A6 - 0x20]
  2551. 00001A88  A898                     syscall    GetPenState
  2552. 00001A8A  A89E                     syscall    PenNormal
  2553. 00001A8C  2F3C 0003 0003           move.l     -[A7], 0x30003
  2554. 00001A92  A89B                     syscall    PenSize
  2555. 00001A94  200A                     move.l     D0, A2
  2556. 00001A96  671A                     beq        +0x1C /* 00001AB2 */
  2557. 00001A98  202C 001E                move.l     D0, [A4 + 0x1E]
  2558. 00001A9C  B0AE 000A                cmp.l      D0, [A6 + 0xA]
  2559. 00001AA0  6610                     bne        +0x12 /* 00001AB2 */
  2560. 00001AA2  082A 0003 0037           btst.b     [A2 + 0x37], 0x3
  2561. 00001AA8  6608                     bne        +0xA /* 00001AB2 */
  2562. 00001AAA  2055                     movea.l    A0, [A5]
  2563. 00001AAC  4868 FFE8                pea.l      [A0 - 0x18]
  2564. 00001AB0  A89D                     syscall    PenPat
  2565. label00001AB2:
  2566. 00001AB2  486E FFF2                pea.l      [A6 - 0xE]
  2567. 00001AB6  2F3C 0010 0010           move.l     -[A7], 0x100010
  2568. 00001ABC  A8B0                     syscall    FrameRoundRect
  2569. 00001ABE  486E FFE0                pea.l      [A6 - 0x20]
  2570. 00001AC2  A899                     syscall    SetPenState
  2571. 00001AC4  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  2572. 00001AC8  4E5E                     unlink     A6
  2573. 00001ACA  205F                     movea.l    A0, [A7]+
  2574. 00001ACC  5C4F                     addq.w     A7, 6
  2575. 00001ACE  4ED0                     jmp        [A0]
  2576. fn00001AD0:
  2577. 00001AD0  4E56 FFF2                link       A6, -0x000E
  2578. 00001AD4  48E7 0110                movem.l    -[A7], D7,A3
  2579. 00001AD8  7006                     moveq.l    D0, 0x06
  2580. 00001ADA  6100 0F22                bsr        +0xF24 /* 000029FE */
  2581. 00001ADE  486E FFF2                pea.l      [A6 - 0xE]
  2582. 00001AE2  2F38 0A02                move.l     -[A7], [0x00000A02 /* OneOne */]
  2583. 00001AE6  A8A9                     syscall    InsetRect
  2584. 00001AE8  046E 000F FFF8           subi.w     [A6 - 0x8], 0xF
  2585. 00001AEE  594F                     subq.w     A7, 4
  2586. 00001AF0  486E FFF2                pea.l      [A6 - 0xE]
  2587. 00001AF4  487A 01CE                pea.l      [PC + 0x1CE /* 00001CC4, value 0x0, cstring "" */]
  2588. 00001AF8  322E FFF8                move.w     D1, [A6 - 0x8]
  2589. 00001AFC  926E FFF4                sub.w      D1, [A6 - 0xC]
  2590. 00001B00  3F01                     move.w     -[A7], D1
  2591. 00001B02  4247                     clr.w      D7
  2592. 00001B04  082A 0002 0037           btst.b     [A2 + 0x37], 0x2
  2593. 00001B0A  6712                     beq        +0x14 /* 00001B1E */
  2594. 00001B0C  322E FFF6                move.w     D1, [A6 - 0xA]
  2595. 00001B10  926E FFF2                sub.w      D1, [A6 - 0xE]
  2596. 00001B14  E241                     asr        D1.w, 1
  2597. 00001B16  3F01                     move.w     -[A7], D1
  2598. 00001B18  3E3C 0013                move.w     D7, 0x13
  2599. 00001B1C  6002                     bra        +0x4 /* 00001B20 */
  2600. label00001B1E:
  2601. 00001B1E  4267                     clr.w      -[A7]
  2602. label00001B20:
  2603. 00001B20  4278 0A5E                clr.w      [0x00000A5E /* ResLoad */]
  2604. 00001B24  594F                     subq.w     A7, 4
  2605. 00001B26  2F3C 4C44 4546           move.l     -[A7], 0x4C444546 /* 'LDEF' */
  2606. 00001B2C  3F3C F000                move.w     -[A7], 0xF000
  2607. 00001B30  A81F                     syscall    Get1Resource
  2608. 00001B32  31FC FFFF 0A5E           move.w     [0x00000A5E /* ResLoad */], 0xFFFF
  2609. 00001B38  4A9F                     tst.l      [A7]+
  2610. 00001B3A  6704                     beq        +0x6 /* 00001B40 */
  2611. 00001B3C  3E3C F000                move.w     D7, 0xF000
  2612. label00001B40:
  2613. 00001B40  3F07                     move.w     -[A7], D7
  2614. 00001B42  2F2C 001E                move.l     -[A7], [A4 + 0x1E]
  2615. 00001B46  1F3C 0001                move.b     -[A7], 0x1
  2616. 00001B4A  42A7                     clr.l      -[A7]
  2617. 00001B4C  1F3C 0001                move.b     -[A7], 0x1
  2618. 00001B50  3F3C 0044                move.w     -[A7], 0x44 /* 'D' */
  2619. 00001B54  A9E7                     syscall    Pack0/ListManager
  2620. 00001B56  265F                     movea.l    A3, [A7]+
  2621. 00001B58  254B 0008                move.l     [A2 + 0x8], A3
  2622. 00001B5C  700B                     moveq.l    D0, 0x0B
  2623. 00001B5E  7200                     moveq.l    D1, 0x00
  2624. 00001B60  6100 1180                bsr        +0x1182 /* 00002CE2 */
  2625. 00001B64  200B                     move.l     D0, A3
  2626. 00001B66  6700 00AA                beq        +0xAC /* 00001C12 */
  2627. 00001B6A  2053                     movea.l    A0, [A3]
  2628. 00001B6C  42A8 003C                clr.l      [A0 + 0x3C]
  2629. 00001B70  0804 001C                btst.b     D4, 0x1C
  2630. 00001B74  6606                     bne        +0x8 /* 00001B7C */
  2631. 00001B76  08E8 0007 0024           bset.b     [A0 + 0x24], 0x7
  2632. label00001B7C:
  2633. 00001B7C  082A 0002 0037           btst.b     [A2 + 0x37], 0x2
  2634. 00001B82  6608                     bne        +0xA /* 00001B8C */
  2635. 00001B84  6100 0094                bsr        +0x96 /* 00001C1A */
  2636. 00001B88  6000 0088                bra        +0x8A /* 00001C12 */
  2637. label00001B8C:
  2638. 00001B8C  594F                     subq.w     A7, 4
  2639. 00001B8E  3F3C 0002                move.w     -[A7], 0x2
  2640. 00001B92  4267                     clr.w      -[A7]
  2641. 00001B94  2F0B                     move.l     -[A7], A3
  2642. 00001B96  3F3C 0008                move.w     -[A7], 0x8
  2643. 00001B9A  A9E7                     syscall    Pack0/ListManager
  2644. 00001B9C  303C 8101                move.w     D0, 0x8101
  2645. 00001BA0  594F                     subq.w     A7, 4
  2646. 00001BA2  204F                     movea.l    A0, A7
  2647. 00001BA4  554F                     subq.w     A7, 2
  2648. 00001BA6  2F08                     move.l     -[A7], A0
  2649. 00001BA8  3F00                     move.w     -[A7], D0
  2650. 00001BAA  2F3C 0000 00FF           move.l     -[A7], 0xFF
  2651. 00001BB0  303C 0501                move.w     D0, 0x501
  2652. 00001BB4  ABC9                     syscall    IconDispatch
  2653. 00001BB6  301F                     move.w     D0, [A7]+
  2654. 00001BB8  2F0F                     move.l     -[A7], A7
  2655. 00001BBA  3F3C 0004                move.w     -[A7], 0x4
  2656. 00001BBE  42A7                     clr.l      -[A7]
  2657. 00001BC0  2F0B                     move.l     -[A7], A3
  2658. 00001BC2  3F3C 0058                move.w     -[A7], 0x58 /* 'X' */
  2659. 00001BC6  A9E7                     syscall    Pack0/ListManager
  2660. 00001BC8  3E3C 8100                move.w     D7, 0x8100
  2661. 00001BCC  6100 17DE                bsr        +0x17E0 /* 000033AC */
  2662. 00001BD0  4A40                     tst.w      D0
  2663. 00001BD2  6708                     beq        +0xA /* 00001BDC */
  2664. 00001BD4  6100 0F68                bsr        +0xF6A /* 00002B3E */
  2665. 00001BD8  5640                     addq.w     D0, 3
  2666. 00001BDA  3E00                     move.w     D7, D0
  2667. label00001BDC:
  2668. 00001BDC  3007                     move.w     D0, D7
  2669. 00001BDE  204F                     movea.l    A0, A7
  2670. 00001BE0  554F                     subq.w     A7, 2
  2671. 00001BE2  2F08                     move.l     -[A7], A0
  2672. 00001BE4  3F00                     move.w     -[A7], D0
  2673. 00001BE6  2F3C 0000 00FF           move.l     -[A7], 0xFF
  2674. 00001BEC  303C 0501                move.w     D0, 0x501
  2675. 00001BF0  ABC9                     syscall    IconDispatch
  2676. 00001BF2  301F                     move.w     D0, [A7]+
  2677. 00001BF4  2F0F                     move.l     -[A7], A7
  2678. 00001BF6  3F3C 0004                move.w     -[A7], 0x4
  2679. 00001BFA  2F3C 0001 0000           move.l     -[A7], 0x10000
  2680. 00001C00  2F0B                     move.l     -[A7], A3
  2681. 00001C02  3F3C 0058                move.w     -[A7], 0x58 /* 'X' */
  2682. 00001C06  A9E7                     syscall    Pack0/ListManager
  2683. 00001C08  584F                     addq.w     A7, 4
  2684. 00001C0A  6100 FD2E                bsr        -0x2D0 /* 0000193A */
  2685. 00001C0E  6100 EB84                bsr        -0x147A /* 00000794 */
  2686. label00001C12:
  2687. 00001C12  4CDF 0880                movem.l    D7,A3, [A7]+
  2688. 00001C16  4E5E                     unlink     A6
  2689. 00001C18  4E75                     rts
  2690. fn00001C1A:
  2691. 00001C1A  0804 000F                btst.b     D4, 0xF
  2692. 00001C1E  6718                     beq        +0x1A /* 00001C38 */
  2693. 00001C20  700D                     moveq.l    D0, 0x0D
  2694. 00001C22  6100 10E6                bsr        +0x10E8 /* 00002D0A */
  2695. 00001C26  661E                     bne        +0x20 /* 00001C46 */
  2696. 00001C28  6100 10D8                bsr        +0x10DA /* 00002D02 */
  2697. 00001C2C  2F2A 0008                move.l     -[A7], [A2 + 0x8]
  2698. 00001C30  3F3C 0010                move.w     -[A7], 0x10
  2699. 00001C34  A9E7                     syscall    Pack0/ListManager
  2700. 00001C36  600E                     bra        +0x10 /* 00001C46 */
  2701. label00001C38:
  2702. 00001C38  6100 EC5C                bsr        -0x13A2 /* 00000896 */
  2703. 00001C3C  0804 001F                btst.b     D4, 0x1F
  2704. 00001C40  6704                     beq        +0x6 /* 00001C46 */
  2705. 00001C42  6100 07CE                bsr        +0x7D0 /* 00002412 */
  2706. label00001C46:
  2707. 00001C46  4E75                     rts
  2708. 00001C48  0000 0000                ori.b      D0, 0x0
  2709. 00001C4C  0000 0003                ori.b      D0, 0x3
  2710. fn00001C50:
  2711. 00001C50  4E56 FFF2                link       A6, -0x000E
  2712. 00001C54  357C FFFF 000C           move.w     [A2 + 0xC], 0xFFFF
  2713. 00001C5A  7008                     moveq.l    D0, 0x08
  2714. 00001C5C  6100 0DA0                bsr        +0xDA2 /* 000029FE */
  2715. 00001C60  486E FFF2                pea.l      [A6 - 0xE]
  2716. 00001C64  2F38 0A02                move.l     -[A7], [0x00000A02 /* OneOne */]
  2717. 00001C68  A8A9                     syscall    InsetRect
  2718. 00001C6A  046E 000F FFF8           subi.w     [A6 - 0x8], 0xF
  2719. 00001C70  594F                     subq.w     A7, 4
  2720. 00001C72  486E FFF2                pea.l      [A6 - 0xE]
  2721. 00001C76  487A FFD0                pea.l      [PC - 0x30 /* 00001C48, value 0x0, cstring "" */]
  2722. 00001C7A  302E FFF6                move.w     D0, [A6 - 0xA]
  2723. 00001C7E  906E FFF2                sub.w      D0, [A6 - 0xE]
  2724. 00001C82  80FC 0005                divu.w     D0, 0x5
  2725. 00001C86  4840                     swap.w     D0
  2726. 00001C88  302E FFF8                move.w     D0, [A6 - 0x8]
  2727. 00001C8C  906E FFF4                sub.w      D0, [A6 - 0xC]
  2728. 00001C90  E240                     asr        D0.w, 1
  2729. 00001C92  6402                     bcc        +0x4 /* 00001C96 */
  2730. 00001C94  5240                     addq.w     D0, 1
  2731. label00001C96:
  2732. 00001C96  2F00                     move.l     -[A7], D0
  2733. 00001C98  3F3C 0013                move.w     -[A7], 0x13
  2734. 00001C9C  2F2C 001E                move.l     -[A7], [A4 + 0x1E]
  2735. 00001CA0  1F3C 0001                move.b     -[A7], 0x1
  2736. 00001CA4  42A7                     clr.l      -[A7]
  2737. 00001CA6  1F3C 0001                move.b     -[A7], 0x1
  2738. 00001CAA  3F3C 0044                move.w     -[A7], 0x44 /* 'D' */
  2739. 00001CAE  A9E7                     syscall    Pack0/ListManager
  2740. 00001CB0  205F                     movea.l    A0, [A7]+
  2741. 00001CB2  2548 0064                move.l     [A2 + 0x64], A0
  2742. 00001CB6  6708                     beq        +0xA /* 00001CC0 */
  2743. 00001CB8  2050                     movea.l    A0, [A0]
  2744. 00001CBA  117C 0082 0024           move.b     [A0 + 0x24], 0x82
  2745. label00001CC0:
  2746. 00001CC0  4E5E                     unlink     A6
  2747. 00001CC2  4E75                     rts
  2748. 00001CC4  0000 0000                ori.b      D0, 0x0
  2749. 00001CC8  0000 0002                ori.b      D0, 0x2
  2750. fn00001CCC:
  2751. 00001CCC  7000                     moveq.l    D0, 0x00
  2752. 00001CCE  4AAA 0068                tst.l      [A2 + 0x68]
  2753. 00001CD2  6600 027E                bne        +0x280 /* 00001F52 */
  2754. 00001CD6  357C 012A 0016           move.w     [A2 + 0x16], 0x12A
  2755. 00001CDC  357C 012A 0038           move.w     [A2 + 0x38], 0x12A
  2756. 00001CE2  082A 0000 0037           btst.b     [A2 + 0x37], 0x0
  2757. 00001CE8  6700 0268                beq        +0x26A /* 00001F52 */
  2758. 00001CEC  4E56 FD2C                link       A6, -0x02D4
  2759. 00001CF0  48E7 1F18                movem.l    -[A7], D3,D4,D5,D6,D7,A3,A4
  2760. 00001CF4  6100 E9E2                bsr        -0x161C /* 000006D8 */
  2761. 00001CF8  08AA 0005 0037           bclr.b     [A2 + 0x37], 0x5
  2762. 00001CFE  2078 02D8                movea.l    A0, [0x000002D8 /* ABusVars */]
  2763. 00001D02  1D68 0019 FFDE           move.b     [A6 - 0x22], [A0 + 0x19]
  2764. 00001D08  6700 023A                beq        +0x23C /* 00001F44 */
  2765. 00001D0C  08EA 0005 0037           bset.b     [A2 + 0x37], 0x5
  2766. 00001D12  3D68 001A FFDC           move.w     [A6 - 0x24], [A0 + 0x1A]
  2767. 00001D18  1D7C 0006 FFDF           move.b     [A6 - 0x21], 0x6
  2768. 00001D1E  0838 0004 0291           btst.b     [0x00000291 /* PortBUse */], 0x4
  2769. 00001D24  660E                     bne        +0x10 /* 00001D34 */
  2770. 00001D26  41FA 1064                lea.l      A0, [PC + 0x1064 /* 00002D8C, value 0x42E4154, pstring ".ATP" */]
  2771. 00001D2A  6100 FB2E                bsr        -0x4D0 /* 0000185A */
  2772. 00001D2E  3E00                     move.w     D7, D0
  2773. 00001D30  6600 0214                bne        +0x216 /* 00001F46 */
  2774. label00001D34:
  2775. 00001D34  51EE FFF0                sf         [A6 - 0x10]
  2776. 00001D38  4A6A 000C                tst.w      [A2 + 0xC]
  2777. 00001D3C  6B0E                     bmi        +0x10 /* 00001D4C */
  2778. 00001D3E  0804 001F                btst.b     D4, 0x1F
  2779. 00001D42  6708                     beq        +0xA /* 00001D4C */
  2780. 00001D44  50EE FFF0                st         [A6 - 0x10]
  2781. 00001D48  6100 F974                bsr        -0x68A /* 000016BE */
  2782. label00001D4C:
  2783. 00001D4C  3D7C FFF5 FFD6           move.w     [A6 - 0x2A], 0xFFF5
  2784. 00001D52  42AE FFD0                clr.l      [A6 - 0x30]
  2785. 00001D56  1D7C 0007 FFD0           move.b     [A6 - 0x30], 0x7
  2786. 00001D5C  3D7C 00FF FFD8           move.w     [A6 - 0x28], 0xFF
  2787. 00001D62  422E FFDB                clr.b      [A6 - 0x25]
  2788. 00001D66  426E FFE0                clr.w      [A6 - 0x20]
  2789. 00001D6A  42AE FFE2                clr.l      [A6 - 0x1E]
  2790. 00001D6E  3D7C 0022 FFB2           move.w     [A6 - 0x4E], 0x22 /* '\"' */
  2791. 00001D74  41EA 0038                lea.l      A0, [A2 + 0x38]
  2792. 00001D78  2D48 FFB4                move.l     [A6 - 0x4C], A0
  2793. 00001D7C  41EE FFB2                lea.l      A0, [A6 - 0x4E]
  2794. 00001D80  2D48 FFE6                move.l     [A6 - 0x1A], A0
  2795. 00001D84  1D7C 0001 FFEA           move.b     [A6 - 0x16], 0x1
  2796. 00001D8A  1D7C 0001 FFEB           move.b     [A6 - 0x15], 0x1
  2797. 00001D90  1D7C 0005 FFED           move.b     [A6 - 0x13], 0x5
  2798. 00001D96  41EE FFBE                lea.l      A0, [A6 - 0x42]
  2799. 00001D9A  A004                     syscall    Control
  2800. 00001D9C  486E FFF2                pea.l      [A6 - 0xE]
  2801. 00001DA0  6100 0D9C                bsr        +0xD9E /* 00002B3E */
  2802. 00001DA4  3F00                     move.w     -[A7], D0
  2803. 00001DA6  3F3C 0009                move.w     -[A7], 0x9 /* '\t' */
  2804. 00001DAA  6100 0D08                bsr        +0xD0A /* 00002AB4 */
  2805. 00001DAE  486E FFF2                pea.l      [A6 - 0xE]
  2806. 00001DB2  2F38 0A02                move.l     -[A7], [0x00000A02 /* OneOne */]
  2807. 00001DB6  A8A9                     syscall    InsetRect
  2808. 00001DB8  046E 000F FFF8           subi.w     [A6 - 0x8], 0xF
  2809. 00001DBE  594F                     subq.w     A7, 4
  2810. 00001DC0  486E FFF2                pea.l      [A6 - 0xE]
  2811. 00001DC4  487A 0190                pea.l      [PC + 0x190 /* 00001F56, value 0x0, cstring "" */]
  2812. 00001DC8  7000                     moveq.l    D0, 0x00
  2813. 00001DCA  302E FFF8                move.w     D0, [A6 - 0x8]
  2814. 00001DCE  906E FFF4                sub.w      D0, [A6 - 0xC]
  2815. 00001DD2  2F00                     move.l     -[A7], D0
  2816. 00001DD4  4267                     clr.w      -[A7]
  2817. 00001DD6  2F2C 001E                move.l     -[A7], [A4 + 0x1E]
  2818. 00001DDA  4227                     clr.b      -[A7]
  2819. 00001DDC  42A7                     clr.l      -[A7]
  2820. 00001DDE  1F3C 0001                move.b     -[A7], 0x1
  2821. 00001DE2  3F3C 0044                move.w     -[A7], 0x44 /* 'D' */
  2822. 00001DE6  A9E7                     syscall    Pack0/ListManager
  2823. 00001DE8  265F                     movea.l    A3, [A7]+
  2824. 00001DEA  254B 0068                move.l     [A2 + 0x68], A3
  2825. 00001DEE  6700 0154                beq        +0x156 /* 00001F44 */
  2826. 00001DF2  2053                     movea.l    A0, [A3]
  2827. 00001DF4  08E8 0007 0024           bset.b     [A0 + 0x24], 0x7
  2828. 00001DFA  3D7C 0242 FFB2           move.w     [A6 - 0x4E], 0x242
  2829. 00001E00  41EE FD70                lea.l      A0, [A6 - 0x290]
  2830. 00001E04  2D48 FFB4                move.l     [A6 - 0x4C], A0
  2831. 00001E08  2F0C                     move.l     -[A7], A4
  2832. 00001E0A  3D7C 0800 FFD0           move.w     [A6 - 0x30], 0x800
  2833. 00001E10  7600                     moveq.l    D3, 0x00
  2834. label00001E12:
  2835. 00001E12  3003                     move.w     D0, D3
  2836. 00001E14  5240                     addq.w     D0, 1
  2837. 00001E16  3D40 FFD2                move.w     [A6 - 0x2E], D0
  2838. 00001E1A  422E FFDB                clr.b      [A6 - 0x25]
  2839. 00001E1E  1D7C 0005 FFED           move.b     [A6 - 0x13], 0x5
  2840. 00001E24  41EE FFBE                lea.l      A0, [A6 - 0x42]
  2841. 00001E28  A004                     syscall    Control
  2842. 00001E2A  6600 00C4                bne        +0xC6 /* 00001EF0 */
  2843. 00001E2E  3A2E FFBC                move.w     D5, [A6 - 0x44]
  2844. 00001E32  D645                     add.w      D3, D5
  2845. 00001E34  49EE FD70                lea.l      A4, [A6 - 0x290]
  2846. 00001E38  6000 00AA                bra        +0xAC /* 00001EE4 */
  2847. label00001E3C:
  2848. 00001E3C  204C                     movea.l    A0, A4
  2849. 00001E3E  206A 0068                movea.l    A0, [A2 + 0x68]
  2850. 00001E42  2050                     movea.l    A0, [A0]
  2851. 00001E44  3C28 0048                move.w     D6, [A0 + 0x48]
  2852. 00001E48  3E28 004C                move.w     D7, [A0 + 0x4C]
  2853. label00001E4C:
  2854. 00001E4C  BE46                     cmp.w      D7, D6
  2855. 00001E4E  674C                     beq        +0x4E /* 00001E9C */
  2856. 00001E50  3807                     move.w     D4, D7
  2857. 00001E52  9846                     sub.w      D4, D6
  2858. 00001E54  E244                     asr        D4.w, 1
  2859. 00001E56  D846                     add.w      D4, D6
  2860. 00001E58  3F3C 0022                move.w     -[A7], 0x22 /* '\"' */
  2861. 00001E5C  486E FD2D                pea.l      [A6 - 0x2D3]
  2862. 00001E60  486F 0004                pea.l      [A7 + 0x4]
  2863. 00001E64  4267                     clr.w      -[A7]
  2864. 00001E66  3F04                     move.w     -[A7], D4
  2865. 00001E68  2F0B                     move.l     -[A7], A3
  2866. 00001E6A  3F3C 0038                move.w     -[A7], 0x38 /* '8' */
  2867. 00001E6E  A9E7                     syscall    Pack0/ListManager
  2868. 00001E70  41EE FD2C                lea.l      A0, [A6 - 0x2D4]
  2869. 00001E74  301F                     move.w     D0, [A7]+
  2870. 00001E76  10C0                     move.b     [A0]+, D0
  2871. 00001E78  224C                     movea.l    A1, A4
  2872. 00001E7A  7200                     moveq.l    D1, 0x00
  2873. 00001E7C  1219                     move.b     D1, [A1]+
  2874. 00001E7E  554F                     subq.w     A7, 2
  2875. 00001E80  2F09                     move.l     -[A7], A1
  2876. 00001E82  2F08                     move.l     -[A7], A0
  2877. 00001E84  3F01                     move.w     -[A7], D1
  2878. 00001E86  3F00                     move.w     -[A7], D0
  2879. 00001E88  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  2880. 00001E8C  A9ED                     syscall    Pack6
  2881. 00001E8E  301F                     move.w     D0, [A7]+
  2882. 00001E90  6B06                     bmi        +0x8 /* 00001E98 */
  2883. 00001E92  3C04                     move.w     D6, D4
  2884. 00001E94  5246                     addq.w     D6, 1
  2885. 00001E96  60B4                     bra        -0x4A /* 00001E4C */
  2886. label00001E98:
  2887. 00001E98  3E04                     move.w     D7, D4
  2888. 00001E9A  60B0                     bra        -0x4E /* 00001E4C */
  2889. label00001E9C:
  2890. 00001E9C  554F                     subq.w     A7, 2
  2891. 00001E9E  3F3C 0001                move.w     -[A7], 0x1
  2892. 00001EA2  3F07                     move.w     -[A7], D7
  2893. 00001EA4  2F0B                     move.l     -[A7], A3
  2894. 00001EA6  3F3C 0008                move.w     -[A7], 0x8
  2895. 00001EAA  A9E7                     syscall    Pack0/ListManager
  2896. 00001EAC  544F                     addq.w     A7, 2
  2897. 00001EAE  204C                     movea.l    A0, A4
  2898. 00001EB0  43EA 0038                lea.l      A1, [A2 + 0x38]
  2899. 00001EB4  6100 0EC8                bsr        +0xECA /* 00002D7E */
  2900. 00001EB8  3F00                     move.w     -[A7], D0
  2901. 00001EBA  7000                     moveq.l    D0, 0x00
  2902. 00001EBC  101C                     move.b     D0, [A4]+
  2903. 00001EBE  2F0C                     move.l     -[A7], A4
  2904. 00001EC0  3F00                     move.w     -[A7], D0
  2905. 00001EC2  4267                     clr.w      -[A7]
  2906. 00001EC4  3F07                     move.w     -[A7], D7
  2907. 00001EC6  2F0B                     move.l     -[A7], A3
  2908. 00001EC8  D8C0                     add.w      A4, D0
  2909. 00001ECA  3F3C 0058                move.w     -[A7], 0x58 /* 'X' */
  2910. 00001ECE  A9E7                     syscall    Pack0/ListManager
  2911. 00001ED0  4A5F                     tst.w      [A7]+
  2912. 00001ED2  6610                     bne        +0x12 /* 00001EE4 */
  2913. 00001ED4  1F3C 0001                move.b     -[A7], 0x1
  2914. 00001ED8  4267                     clr.w      -[A7]
  2915. 00001EDA  3F07                     move.w     -[A7], D7
  2916. 00001EDC  2F0B                     move.l     -[A7], A3
  2917. 00001EDE  3F3C 005C                move.w     -[A7], 0x5C /* '\\' */
  2918. 00001EE2  A9E7                     syscall    Pack0/ListManager
  2919. label00001EE4:
  2920. 00001EE4  51CD FF56                dbf        D5, -0xAC /* 00001E3C */
  2921. 00001EE8  4A2E FFBA                tst.b      [A6 - 0x46]
  2922. 00001EEC  6700 FF24                beq        -0xDA /* 00001E12 */
  2923. label00001EF0:
  2924. 00001EF0  285F                     movea.l    A4, [A7]+
  2925. 00001EF2  0C43 0001                cmpi.w     D3, 0x1
  2926. 00001EF6  620A                     bhi        +0xC /* 00001F02 */
  2927. 00001EF8  41EA 0068                lea.l      A0, [A2 + 0x68]
  2928. 00001EFC  6100 040A                bsr        +0x40C /* 00002308 */
  2929. 00001F00  6038                     bra        +0x3A /* 00001F3A */
  2930. label00001F02:
  2931. 00001F02  A896                     syscall    HidePen
  2932. 00001F04  2F0B                     move.l     -[A7], A3
  2933. 00001F06  3F3C 0010                move.w     -[A7], 0x10
  2934. 00001F0A  A9E7                     syscall    Pack0/ListManager
  2935. 00001F0C  1F3C 0001                move.b     -[A7], 0x1
  2936. 00001F10  2F0B                     move.l     -[A7], A3
  2937. 00001F12  3F3C 002C                move.w     -[A7], 0x2C /* ',' */
  2938. 00001F16  A9E7                     syscall    Pack0/ListManager
  2939. 00001F18  A897                     syscall    ShowPen
  2940. 00001F1A  7007                     moveq.l    D0, 0x07
  2941. 00001F1C  7209                     moveq.l    D1, 0x09
  2942. 00001F1E  6100 0B70                bsr        +0xB72 /* 00002A90 */
  2943. 00001F22  700D                     moveq.l    D0, 0x0D
  2944. 00001F24  720A                     moveq.l    D1, 0x0A
  2945. 00001F26  6100 0B68                bsr        +0xB6A /* 00002A90 */
  2946. 00001F2A  7207                     moveq.l    D1, 0x07
  2947. 00001F2C  6100 F9BA                bsr        -0x644 /* 000018E8 */
  2948. 00001F30  2F2A 0064                move.l     -[A7], [A2 + 0x64]
  2949. 00001F34  3F3C 0010                move.w     -[A7], 0x10
  2950. 00001F38  A9E7                     syscall    Pack0/ListManager
  2951. label00001F3A:
  2952. 00001F3A  4A2E FFF0                tst.b      [A6 - 0x10]
  2953. 00001F3E  6704                     beq        +0x6 /* 00001F44 */
  2954. 00001F40  6100 FCD8                bsr        -0x326 /* 00001C1A */
  2955. label00001F44:
  2956. 00001F44  7E00                     moveq.l    D7, 0x00
  2957. label00001F46:
  2958. 00001F46  6100 E7A4                bsr        -0x185A /* 000006EC */
  2959. 00001F4A  3007                     move.w     D0, D7
  2960. 00001F4C  4CDF 18F8                movem.l    D3,D4,D5,D6,D7,A3,A4, [A7]+
  2961. 00001F50  4E5E                     unlink     A6
  2962. label00001F52:
  2963. 00001F52  4A40                     tst.w      D0
  2964. 00001F54  4E75                     rts
  2965. 00001F56  0000 0000                ori.b      D0, 0x0
  2966. 00001F5A  0000 0001                ori.b      D0, 0x1
  2967. fn00001F5E:
  2968. 00001F5E  202A 0008                move.l     D0, [A2 + 0x8]
  2969. 00001F62  610E                     bsr        +0x10 /* 00001F72 */
  2970. 00001F64  202A 0068                move.l     D0, [A2 + 0x68]
  2971. 00001F68  6108                     bsr        +0xA /* 00001F72 */
  2972. 00001F6A  202A 0064                move.l     D0, [A2 + 0x64]
  2973. 00001F6E  6102                     bsr        +0x4 /* 00001F72 */
  2974. 00001F70  4E75                     rts
  2975. fn00001F72:
  2976. 00001F72  7201                     moveq.l    D1, 0x01
  2977. 00001F74  6002                     bra        +0x4 /* 00001F78 */
  2978. fn00001F76:
  2979. 00001F76  7200                     moveq.l    D1, 0x00
  2980. label00001F78:
  2981. 00001F78  4A80                     tst.l      D0
  2982. 00001F7A  670E                     beq        +0x10 /* 00001F8A */
  2983. 00001F7C  2F0C                     move.l     -[A7], A4
  2984. 00001F7E  2840                     movea.l    A4, D0
  2985. 00001F80  1F01                     move.b     -[A7], D1
  2986. 00001F82  2F00                     move.l     -[A7], D0
  2987. 00001F84  4267                     clr.w      -[A7]
  2988. 00001F86  A9E7                     syscall    Pack0/ListManager
  2989. 00001F88  285F                     movea.l    A4, [A7]+
  2990. label00001F8A:
  2991. 00001F8A  4E75                     rts
  2992. fn00001F8C:
  2993. 00001F8C  4E56 FFFA                link       A6, -0x0006
  2994. 00001F90  48E7 0110                movem.l    -[A7], D7,A3
  2995. 00001F94  202A 0064                move.l     D0, [A2 + 0x64]
  2996. 00001F98  6748                     beq        +0x4A /* 00001FE2 */
  2997. 00001F9A  2640                     movea.l    A3, D0
  2998. 00001F9C  3E2A 0062                move.w     D7, [A2 + 0x62]
  2999. 00001FA0  6034                     bra        +0x36 /* 00001FD6 */
  3000. label00001FA2:
  3001. 00001FA2  486E FFFC                pea.l      [A6 - 0x4]
  3002. 00001FA6  3D7C 0004 FFFA           move.w     [A6 - 0x6], 0x4
  3003. 00001FAC  486E FFFA                pea.l      [A6 - 0x6]
  3004. 00001FB0  3207                     move.w     D1, D7
  3005. 00001FB2  7000                     moveq.l    D0, 0x00
  3006. 00001FB4  E249                     lsr        D1.w, 1
  3007. 00001FB6  D140                     addx.w     D0, D0
  3008. 00001FB8  3F00                     move.w     -[A7], D0
  3009. 00001FBA  3F01                     move.w     -[A7], D1
  3010. 00001FBC  2F0B                     move.l     -[A7], A3
  3011. 00001FBE  3F3C 0038                move.w     -[A7], 0x38 /* '8' */
  3012. 00001FC2  A9E7                     syscall    Pack0/ListManager
  3013. 00001FC4  554F                     subq.w     A7, 2
  3014. 00001FC6  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  3015. 00001FCA  1F3C 0001                move.b     -[A7], 0x1
  3016. 00001FCE  303C 0302                move.w     D0, 0x302
  3017. 00001FD2  ABC9                     syscall    IconDispatch
  3018. 00001FD4  544F                     addq.w     A7, 2
  3019. label00001FD6:
  3020. 00001FD6  51CF FFCA                dbf        D7, -0x38 /* 00001FA2 */
  3021. 00001FDA  41EA 0064                lea.l      A0, [A2 + 0x64]
  3022. 00001FDE  6100 0328                bsr        +0x32A /* 00002308 */
  3023. label00001FE2:
  3024. 00001FE2  41EA 0068                lea.l      A0, [A2 + 0x68]
  3025. 00001FE6  6100 0320                bsr        +0x322 /* 00002308 */
  3026. 00001FEA  4CDF 0880                movem.l    D7,A3, [A7]+
  3027. 00001FEE  4E5E                     unlink     A6
  3028. 00001FF0  4E75                     rts
  3029. fn00001FF2:
  3030. 00001FF2  486A 0082                pea.l      [A2 + 0x82]
  3031. 00001FF6  3F3C 0028                move.w     -[A7], 0x28 /* '(' */
  3032. 00001FFA  A9ED                     syscall    Pack6
  3033. 00001FFC  4E75                     rts
  3034. fn00001FFE:
  3035. 00001FFE  12C1                     move.b     [A1]+, D1
  3036. 00002000  7000                     moveq.l    D0, 0x00
  3037. 00002002  1001                     move.b     D0, D1
  3038. 00002004  A02E                     syscall    BlockMove/BlockMoveData
  3039. 00002006  4E75                     rts
  3040. fn00002008:
  3041. 00002008  0C07 0001                cmpi.b     D7, 0x1
  3042. 0000200C  6716                     beq        +0x18 /* 00002024 */
  3043. 0000200E  0C07 0004                cmpi.b     D7, 0x4
  3044. 00002012  6716                     beq        +0x18 /* 0000202A */
  3045. 00002014  0C07 000B                cmpi.b     D7, 0xB
  3046. 00002018  6716                     beq        +0x18 /* 00002030 */
  3047. 0000201A  0C07 000C                cmpi.b     D7, 0xC
  3048. 0000201E  6714                     beq        +0x16 /* 00002034 */
  3049. 00002020  7000                     moveq.l    D0, 0x00
  3050. 00002022  6038                     bra        +0x3A /* 0000205C */
  3051. label00002024:
  3052. 00002024  303C F830                move.w     D0, 0xF830
  3053. 00002028  6022                     bra        +0x24 /* 0000204C */
  3054. label0000202A:
  3055. 0000202A  303C 07D0                move.w     D0, 0x7D0
  3056. 0000202E  601C                     bra        +0x1E /* 0000204C */
  3057. label00002030:
  3058. 00002030  50C1                     st         D1
  3059. 00002032  6002                     bra        +0x4 /* 00002036 */
  3060. label00002034:
  3061. 00002034  51C1                     sf         D1
  3062. label00002036:
  3063. 00002036  226A 00C8                movea.l    A1, [A2 + 0xC8]
  3064. 0000203A  2251                     movea.l    A1, [A1]
  3065. 0000203C  3029 0018                move.w     D0, [A1 + 0x18]
  3066. 00002040  9069 0014                sub.w      D0, [A1 + 0x14]
  3067. 00002044  5340                     subq.w     D0, 1
  3068. 00002046  4A01                     tst.b      D1
  3069. 00002048  6702                     beq        +0x4 /* 0000204C */
  3070. 0000204A  4440                     neg.w      D0
  3071. label0000204C:
  3072. 0000204C  4267                     clr.w      -[A7]
  3073. 0000204E  3F00                     move.w     -[A7], D0
  3074. 00002050  2F2A 00C8                move.l     -[A7], [A2 + 0xC8]
  3075. 00002054  3F3C 0050                move.w     -[A7], 0x50 /* 'P' */
  3076. 00002058  A9E7                     syscall    Pack0/ListManager
  3077. 0000205A  7001                     moveq.l    D0, 0x01
  3078. label0000205C:
  3079. 0000205C  4E75                     rts
  3080. label0000205E:
  3081. 0000205E  4E56 FF00                link       A6, -0x0100
  3082. 00002062  48E7 0300                movem.l    -[A7], D6,D7
  3083. 00002066  1E00                     move.b     D7, D0
  3084. 00002068  2C01                     move.l     D6, D1
  3085. 0000206A  619C                     bsr        -0x62 /* 00002008 */
  3086. 0000206C  6600 0122                bne        +0x124 /* 00002190 */
  3087. 00002070  6100 020E                bsr        +0x210 /* 00002280 */
  3088. 00002074  2F00                     move.l     -[A7], D0
  3089. 00002076  6100 0122                bsr        +0x124 /* 0000219A */
  3090. 0000207A  6704                     beq        +0x6 /* 00002080 */
  3091. 0000207C  6000 00DC                bra        +0xDE /* 0000215A */
  3092. label00002080:
  3093. 00002080  554F                     subq.w     A7, 2
  3094. 00002082  2F0B                     move.l     -[A7], A3
  3095. 00002084  486A 0082                pea.l      [A2 + 0x82]
  3096. 00002088  3F3C 002A                move.w     -[A7], 0x2A /* '*' */
  3097. 0000208C  A9ED                     syscall    Pack6
  3098. 0000208E  4A1F                     tst.b      [A7]+
  3099. 00002090  6700 00C8                beq        +0xCA /* 0000215A */
  3100. 00002094  7600                     moveq.l    D3, 0x00
  3101. 00002096  202A 00C8                move.l     D0, [A2 + 0xC8]
  3102. 0000209A  B0AA 0064                cmp.l      D0, [A2 + 0x64]
  3103. 0000209E  6734                     beq        +0x36 /* 000020D4 */
  3104. label000020A0:
  3105. 000020A0  2003                     move.l     D0, D3
  3106. 000020A2  4840                     swap.w     D0
  3107. 000020A4  6100 01CC                bsr        +0x1CE /* 00002272 */
  3108. 000020A8  6B22                     bmi        +0x24 /* 000020CC */
  3109. 000020AA  43EE FF00                lea.l      A1, [A6 - 0x100]
  3110. 000020AE  6100 FF4E                bsr        -0xB0 /* 00001FFE */
  3111. 000020B2  554F                     subq.w     A7, 2
  3112. 000020B4  486A 0082                pea.l      [A2 + 0x82]
  3113. 000020B8  4267                     clr.w      -[A7]
  3114. 000020BA  486E FF00                pea.l      [A6 - 0x100]
  3115. 000020BE  3F3C 002E                move.w     -[A7], 0x2E /* '.' */
  3116. 000020C2  A9ED                     syscall    Pack6
  3117. 000020C4  301F                     move.w     D0, [A7]+
  3118. 000020C6  6F66                     ble        +0x68 /* 0000212E */
  3119. 000020C8  5243                     addq.w     D3, 1
  3120. 000020CA  60D4                     bra        -0x2A /* 000020A0 */
  3121. label000020CC:
  3122. 000020CC  5343                     subq.w     D3, 1
  3123. 000020CE  6B00 008A                bmi        +0x8C /* 0000215A */
  3124. 000020D2  605A                     bra        +0x5C /* 0000212E */
  3125. label000020D4:
  3126. 000020D4  2003                     move.l     D0, D3
  3127. 000020D6  4840                     swap.w     D0
  3128. 000020D8  6100 0198                bsr        +0x19A /* 00002272 */
  3129. 000020DC  6B3A                     bmi        +0x3C /* 00002118 */
  3130. 000020DE  0C41 FFF5                cmpi.w     D1, 0xFFF5
  3131. 000020E2  6734                     beq        +0x36 /* 00002118 */
  3132. 000020E4  43EE FF00                lea.l      A1, [A6 - 0x100]
  3133. 000020E8  6100 FF14                bsr        -0xEA /* 00001FFE */
  3134. 000020EC  554F                     subq.w     A7, 2
  3135. 000020EE  486A 0082                pea.l      [A2 + 0x82]
  3136. 000020F2  4267                     clr.w      -[A7]
  3137. 000020F4  486E FF00                pea.l      [A6 - 0x100]
  3138. 000020F8  3F3C 002E                move.w     -[A7], 0x2E /* '.' */
  3139. 000020FC  A9ED                     syscall    Pack6
  3140. 000020FE  301F                     move.w     D0, [A7]+
  3141. 00002100  6F2C                     ble        +0x2E /* 0000212E */
  3142. 00002102  4843                     swap.w     D3
  3143. 00002104  4A43                     tst.w      D3
  3144. 00002106  6708                     beq        +0xA /* 00002110 */
  3145. 00002108  4243                     clr.w      D3
  3146. 0000210A  4843                     swap.w     D3
  3147. 0000210C  5243                     addq.w     D3, 1
  3148. 0000210E  60C4                     bra        -0x3A /* 000020D4 */
  3149. label00002110:
  3150. 00002110  363C 0001                move.w     D3, 0x1
  3151. 00002114  4843                     swap.w     D3
  3152. 00002116  60BC                     bra        -0x42 /* 000020D4 */
  3153. label00002118:
  3154. 00002118  4843                     swap.w     D3
  3155. 0000211A  4A43                     tst.w      D3
  3156. 0000211C  6706                     beq        +0x8 /* 00002124 */
  3157. 0000211E  4243                     clr.w      D3
  3158. 00002120  4843                     swap.w     D3
  3159. 00002122  600A                     bra        +0xC /* 0000212E */
  3160. label00002124:
  3161. 00002124  363C 0001                move.w     D3, 0x1
  3162. 00002128  4843                     swap.w     D3
  3163. 0000212A  5343                     subq.w     D3, 1
  3164. 0000212C  6B2C                     bmi        +0x2E /* 0000215A */
  3165. label0000212E:
  3166. 0000212E  2003                     move.l     D0, D3
  3167. 00002130  4840                     swap.w     D0
  3168. 00002132  6100 01AE                bsr        +0x1B0 /* 000022E2 */
  3169. 00002136  226A 00C8                movea.l    A1, [A2 + 0xC8]
  3170. 0000213A  2251                     movea.l    A1, [A1]
  3171. 0000213C  3029 0014                move.w     D0, [A1 + 0x14]
  3172. 00002140  B640                     cmp.w      D3, D0
  3173. 00002142  6D06                     blt        +0x8 /* 0000214A */
  3174. 00002144  B669 0018                cmp.w      D3, [A1 + 0x18]
  3175. 00002148  6D10                     blt        +0x12 /* 0000215A */
  3176. label0000214A:
  3177. 0000214A  9640                     sub.w      D3, D0
  3178. 0000214C  4843                     swap.w     D3
  3179. 0000214E  2F03                     move.l     -[A7], D3
  3180. 00002150  2F2A 00C8                move.l     -[A7], [A2 + 0xC8]
  3181. 00002154  3F3C 0050                move.w     -[A7], 0x50 /* 'P' */
  3182. 00002158  A9E7                     syscall    Pack0/ListManager
  3183. label0000215A:
  3184. 0000215A  6100 0124                bsr        +0x126 /* 00002280 */
  3185. 0000215E  221F                     move.l     D1, [A7]+
  3186. 00002160  B280                     cmp.l      D1, D0
  3187. 00002162  672C                     beq        +0x2E /* 00002190 */
  3188. 00002164  0C80 FFFF FFFF           cmpi.l     D0, 0xFFFFFFFF
  3189. 0000216A  6724                     beq        +0x26 /* 00002190 */
  3190. 0000216C  422A 0080                clr.b      [A2 + 0x80]
  3191. 00002170  206A 00C8                movea.l    A0, [A2 + 0xC8]
  3192. 00002174  B1EA 0064                cmpa.l     A0, [A2 + 0x64]
  3193. 00002178  6606                     bne        +0x8 /* 00002180 */
  3194. 0000217A  6100 E7E8                bsr        -0x1816 /* 00000964 */
  3195. 0000217E  6010                     bra        +0x12 /* 00002190 */
  3196. label00002180:
  3197. 00002180  B1EA 0068                cmpa.l     A0, [A2 + 0x68]
  3198. 00002184  6606                     bne        +0x8 /* 0000218C */
  3199. 00002186  6100 E888                bsr        -0x1776 /* 00000A10 */
  3200. 0000218A  6004                     bra        +0x6 /* 00002190 */
  3201. label0000218C:
  3202. 0000218C  6100 E73C                bsr        -0x18C2 /* 000008CA */
  3203. label00002190:
  3204. 00002190  4CDF 00C0                movem.l    D6,D7, [A7]+
  3205. 00002194  4E5E                     unlink     A6
  3206. 00002196  6000 E234                bra        -0x1DCA /* 000003CC */
  3207. fn0000219A:
  3208. 0000219A  48E7 1C08                movem.l    -[A7], D3,D4,D5,A4
  3209. 0000219E  286A 00C8                movea.l    A4, [A2 + 0xC8]
  3210. 000021A2  78FF                     moveq.l    D4, 0xFFFFFFFF
  3211. 000021A4  0C07 001E                cmpi.b     D7, 0x1E
  3212. 000021A8  672A                     beq        +0x2C /* 000021D4 */
  3213. 000021AA  7801                     moveq.l    D4, 0x01
  3214. 000021AC  0C07 001F                cmpi.b     D7, 0x1F
  3215. 000021B0  6722                     beq        +0x24 /* 000021D4 */
  3216. 000021B2  283C FFFF 0000           move.l     D4, 0xFFFF0000
  3217. 000021B8  0C07 001C                cmpi.b     D7, 0x1C
  3218. 000021BC  670E                     beq        +0x10 /* 000021CC */
  3219. 000021BE  283C 0001 0000           move.l     D4, 0x10000
  3220. 000021C4  0C07 001D                cmpi.b     D7, 0x1D
  3221. 000021C8  6600 00A4                bne        +0xA6 /* 0000226E */
  3222. label000021CC:
  3223. 000021CC  B9EA 0064                cmpa.l     A4, [A2 + 0x64]
  3224. 000021D0  6600 0094                bne        +0x96 /* 00002266 */
  3225. label000021D4:
  3226. 000021D4  2054                     movea.l    A0, [A4]
  3227. 000021D6  4A44                     tst.w      D4
  3228. 000021D8  6706                     beq        +0x8 /* 000021E0 */
  3229. 000021DA  3A28 004C                move.w     D5, [A0 + 0x4C]
  3230. 000021DE  6004                     bra        +0x6 /* 000021E4 */
  3231. label000021E0:
  3232. 000021E0  3A28 004E                move.w     D5, [A0 + 0x4E]
  3233. label000021E4:
  3234. 000021E4  5345                     subq.w     D5, 1
  3235. 000021E6  6100 0098                bsr        +0x9A /* 00002280 */
  3236. 000021EA  6B06                     bmi        +0x8 /* 000021F2 */
  3237. 000021EC  2600                     move.l     D3, D0
  3238. 000021EE  4843                     swap.w     D3
  3239. 000021F0  600A                     bra        +0xC /* 000021FC */
  3240. label000021F2:
  3241. 000021F2  7600                     moveq.l    D3, 0x00
  3242. 000021F4  4A44                     tst.w      D4
  3243. 000021F6  6A1E                     bpl        +0x20 /* 00002216 */
  3244. 000021F8  3605                     move.w     D3, D5
  3245. 000021FA  601A                     bra        +0x1C /* 00002216 */
  3246. label000021FC:
  3247. 000021FC  D684                     add.l      D3, D4
  3248. 000021FE  6B66                     bmi        +0x68 /* 00002266 */
  3249. 00002200  4A44                     tst.w      D4
  3250. 00002202  660A                     bne        +0xC /* 0000220E */
  3251. 00002204  4843                     swap.w     D3
  3252. 00002206  BA43                     cmp.w      D5, D3
  3253. 00002208  6D5C                     blt        +0x5E /* 00002266 */
  3254. 0000220A  4843                     swap.w     D3
  3255. 0000220C  6008                     bra        +0xA /* 00002216 */
  3256. label0000220E:
  3257. 0000220E  4A43                     tst.w      D3
  3258. 00002210  6D54                     blt        +0x56 /* 00002266 */
  3259. 00002212  BA43                     cmp.w      D5, D3
  3260. 00002214  6D50                     blt        +0x52 /* 00002266 */
  3261. label00002216:
  3262. 00002216  598F                     subq.l     A7, 4
  3263. 00002218  2F0F                     move.l     -[A7], A7
  3264. 0000221A  2F17                     move.l     -[A7], [A7]
  3265. 0000221C  5497                     addq.l     [A7], 2
  3266. 0000221E  4843                     swap.w     D3
  3267. 00002220  2F03                     move.l     -[A7], D3
  3268. 00002222  2F0C                     move.l     -[A7], A4
  3269. 00002224  3F3C 0034                move.w     -[A7], 0x34 /* '4' */
  3270. 00002228  A9E7                     syscall    Pack0/ListManager
  3271. 0000222A  201F                     move.l     D0, [A7]+
  3272. 0000222C  4A40                     tst.w      D0
  3273. 0000222E  6736                     beq        +0x38 /* 00002266 */
  3274. 00002230  4843                     swap.w     D3
  3275. 00002232  6100 00AE                bsr        +0xB0 /* 000022E2 */
  3276. 00002236  42A7                     clr.l      -[A7]
  3277. 00002238  3F03                     move.w     -[A7], D3
  3278. 0000223A  2054                     movea.l    A0, [A4]
  3279. 0000223C  4868 0014                pea.l      [A0 + 0x14]
  3280. 00002240  A8AD                     syscall    PtInRect
  3281. 00002242  4A1F                     tst.b      [A7]+
  3282. 00002244  6620                     bne        +0x22 /* 00002266 */
  3283. 00002246  2054                     movea.l    A0, [A4]
  3284. 00002248  3028 0014                move.w     D0, [A0 + 0x14]
  3285. 0000224C  3203                     move.w     D1, D3
  3286. 0000224E  9240                     sub.w      D1, D0
  3287. 00002250  6B08                     bmi        +0xA /* 0000225A */
  3288. 00002252  9268 0018                sub.w      D1, [A0 + 0x18]
  3289. 00002256  5241                     addq.w     D1, 1
  3290. 00002258  D240                     add.w      D1, D0
  3291. label0000225A:
  3292. 0000225A  4267                     clr.w      -[A7]
  3293. 0000225C  3F01                     move.w     -[A7], D1
  3294. 0000225E  2F0C                     move.l     -[A7], A4
  3295. 00002260  3F3C 0050                move.w     -[A7], 0x50 /* 'P' */
  3296. 00002264  A9E7                     syscall    Pack0/ListManager
  3297. label00002266:
  3298. 00002266  7001                     moveq.l    D0, 0x01
  3299. label00002268:
  3300. 00002268  4CDF 1038                movem.l    D3,D4,D5,A4, [A7]+
  3301. 0000226C  4E75                     rts
  3302. label0000226E:
  3303. 0000226E  7000                     moveq.l    D0, 0x00
  3304. 00002270  60F6                     bra        -0x8 /* 00002268 */
  3305. fn00002272:
  3306. 00002272  48E7 0018                movem.l    -[A7], A3,A4
  3307. 00002276  2F00                     move.l     -[A7], D0
  3308. 00002278  286A 00C8                movea.l    A4, [A2 + 0xC8]
  3309. 0000227C  264F                     movea.l    A3, A7
  3310. 0000227E  6020                     bra        +0x22 /* 000022A0 */
  3311. fn00002280:
  3312. 00002280  206A 00C8                movea.l    A0, [A2 + 0xC8]
  3313. fn00002284:
  3314. 00002284  48E7 0018                movem.l    -[A7], A3,A4
  3315. 00002288  2848                     movea.l    A4, A0
  3316. 0000228A  42A7                     clr.l      -[A7]
  3317. 0000228C  264F                     movea.l    A3, A7
  3318. 0000228E  554F                     subq.w     A7, 2
  3319. 00002290  50E7                     st         -[A7]
  3320. 00002292  2F0B                     move.l     -[A7], A3
  3321. 00002294  2F0C                     move.l     -[A7], A4
  3322. 00002296  3F3C 003C                move.w     -[A7], 0x3C /* '<' */
  3323. 0000229A  A9E7                     syscall    Pack0/ListManager
  3324. 0000229C  4A1F                     tst.b      [A7]+
  3325. 0000229E  673E                     beq        +0x40 /* 000022DE */
  3326. label000022A0:
  3327. 000022A0  598F                     subq.l     A7, 4
  3328. 000022A2  2F0F                     move.l     -[A7], A7
  3329. 000022A4  2F17                     move.l     -[A7], [A7]
  3330. 000022A6  5497                     addq.l     [A7], 2
  3331. 000022A8  2F13                     move.l     -[A7], [A3]
  3332. 000022AA  2F0C                     move.l     -[A7], A4
  3333. 000022AC  3F3C 0034                move.w     -[A7], 0x34 /* '4' */
  3334. 000022B0  A9E7                     syscall    Pack0/ListManager
  3335. 000022B2  201F                     move.l     D0, [A7]+
  3336. 000022B4  6B28                     bmi        +0x2A /* 000022DE */
  3337. 000022B6  7200                     moveq.l    D1, 0x00
  3338. 000022B8  3200                     move.w     D1, D0
  3339. 000022BA  4840                     swap.w     D0
  3340. 000022BC  2054                     movea.l    A0, [A4]
  3341. 000022BE  2068 0050                movea.l    A0, [A0 + 0x50]
  3342. 000022C2  2050                     movea.l    A0, [A0]
  3343. 000022C4  D0C0                     add.w      A0, D0
  3344. 000022C6  B9EA 0064                cmpa.l     A4, [A2 + 0x64]
  3345. 000022CA  6608                     bne        +0xA /* 000022D4 */
  3346. 000022CC  41E8 000B                lea.l      A0, [A0 + 0xB]
  3347. 000022D0  0441 000B                subi.w     D1, 0xB
  3348. label000022D4:
  3349. 000022D4  2013                     move.l     D0, [A3]
  3350. label000022D6:
  3351. 000022D6  588F                     addq.l     A7, 4
  3352. 000022D8  4CDF 1800                movem.l    A3,A4, [A7]+
  3353. 000022DC  4E75                     rts
  3354. label000022DE:
  3355. 000022DE  70FF                     moveq.l    D0, 0xFFFFFFFF
  3356. 000022E0  60F4                     bra        -0xA /* 000022D6 */
  3357. fn000022E2:
  3358. 000022E2  619C                     bsr        -0x62 /* 00002280 */
  3359. 000022E4  6B0E                     bmi        +0x10 /* 000022F4 */
  3360. 000022E6  51E7                     sf         -[A7]
  3361. 000022E8  2F00                     move.l     -[A7], D0
  3362. 000022EA  2F2A 00C8                move.l     -[A7], [A2 + 0xC8]
  3363. 000022EE  3F3C 005C                move.w     -[A7], 0x5C /* '\\' */
  3364. 000022F2  A9E7                     syscall    Pack0/ListManager
  3365. label000022F4:
  3366. 000022F4  50E7                     st         -[A7]
  3367. 000022F6  2003                     move.l     D0, D3
  3368. 000022F8  4840                     swap.w     D0
  3369. 000022FA  2F00                     move.l     -[A7], D0
  3370. 000022FC  2F2A 00C8                move.l     -[A7], [A2 + 0xC8]
  3371. 00002300  3F3C 005C                move.w     -[A7], 0x5C /* '\\' */
  3372. 00002304  A9E7                     syscall    Pack0/ListManager
  3373. 00002306  4E75                     rts
  3374. fn00002308:
  3375. 00002308  2010                     move.l     D0, [A0]
  3376. 0000230A  6718                     beq        +0x1A /* 00002324 */
  3377. 0000230C  2F08                     move.l     -[A7], A0
  3378. 0000230E  B0AA 00C8                cmp.l      D0, [A2 + 0xC8]
  3379. 00002312  6602                     bne        +0x4 /* 00002316 */
  3380. 00002314  6124                     bsr        +0x26 /* 0000233A */
  3381. label00002316:
  3382. 00002316  205F                     movea.l    A0, [A7]+
  3383. 00002318  2F10                     move.l     -[A7], [A0]
  3384. 0000231A  4290                     clr.l      [A0]
  3385. 0000231C  3F3C 0028                move.w     -[A7], 0x28 /* '(' */
  3386. 00002320  A9E7                     syscall    Pack0/ListManager
  3387. 00002322  70FF                     moveq.l    D0, 0xFFFFFFFF
  3388. label00002324:
  3389. 00002324  4E75                     rts
  3390. fn00002326:
  3391. 00002326  202A 0008                move.l     D0, [A2 + 0x8]
  3392. 0000232A  6622                     bne        +0x24 /* 0000234E */
  3393. fn0000232C:
  3394. 0000232C  202A 0068                move.l     D0, [A2 + 0x68]
  3395. 00002330  661C                     bne        +0x1E /* 0000234E */
  3396. fn00002332:
  3397. 00002332  202A 0064                move.l     D0, [A2 + 0x64]
  3398. 00002336  6616                     bne        +0x18 /* 0000234E */
  3399. 00002338  60EC                     bra        -0x12 /* 00002326 */
  3400. fn0000233A:
  3401. 0000233A  202A 0064                move.l     D0, [A2 + 0x64]
  3402. 0000233E  660E                     bne        +0x10 /* 0000234E */
  3403. fn00002340:
  3404. 00002340  202A 0068                move.l     D0, [A2 + 0x68]
  3405. 00002344  6608                     bne        +0xA /* 0000234E */
  3406. fn00002346:
  3407. 00002346  202A 0008                move.l     D0, [A2 + 0x8]
  3408. 0000234A  6602                     bne        +0x4 /* 0000234E */
  3409. 0000234C  60EC                     bra        -0x12 /* 0000233A */
  3410. fn0000234E:
  3411. 0000234E  B0AA 00C8                cmp.l      D0, [A2 + 0xC8]
  3412. 00002352  6720                     beq        +0x22 /* 00002374 */
  3413. 00002354  2F00                     move.l     -[A7], D0
  3414. 00002356  0CAA FFFF FFFF 00C8      cmpi.l     [A2 + 0xC8], 0xFFFFFFFF
  3415. 0000235E  6702                     beq        +0x4 /* 00002362 */
  3416. 00002360  6114                     bsr        +0x16 /* 00002376 */
  3417. label00002362:
  3418. 00002362  255F 00C8                move.l     [A2 + 0xC8], [A7]+
  3419. 00002366  0CAA FFFF FFFF 00C8      cmpi.l     [A2 + 0xC8], 0xFFFFFFFF
  3420. 0000236E  6704                     beq        +0x6 /* 00002374 */
  3421. 00002370  50C1                     st         D1
  3422. 00002372  6108                     bsr        +0xA /* 0000237C */
  3423. label00002374:
  3424. 00002374  4E75                     rts
  3425. fn00002376:
  3426. 00002376  51C1                     sf         D1
  3427. 00002378  6102                     bsr        +0x4 /* 0000237C */
  3428. 0000237A  4E75                     rts
  3429. fn0000237C:
  3430. 0000237C  48E7 1000                movem.l    -[A7], D3
  3431. 00002380  514F                     subq.w     A7, 8
  3432. 00002382  224F                     movea.l    A1, A7
  3433. 00002384  1601                     move.b     D3, D1
  3434. 00002386  202A 00C8                move.l     D0, [A2 + 0xC8]
  3435. 0000238A  6F3C                     ble        +0x3E /* 000023C8 */
  3436. 0000238C  2040                     movea.l    A0, D0
  3437. 0000238E  2050                     movea.l    A0, [A0]
  3438. 00002390  22D8                     move.l     [A1]+, [A0]+
  3439. 00002392  22D8                     move.l     [A1]+, [A0]+
  3440. 00002394  5149                     subq.w     A1, 8
  3441. 00002396  0669 000F 0006           addi.w     [A1 + 0x6], 0xF
  3442. 0000239C  70FC                     moveq.l    D0, 0xFFFFFFFC
  3443. 0000239E  2F09                     move.l     -[A7], A1
  3444. 000023A0  2F09                     move.l     -[A7], A1
  3445. 000023A2  3F00                     move.w     -[A7], D0
  3446. 000023A4  3F00                     move.w     -[A7], D0
  3447. 000023A6  A8A9                     syscall    InsetRect
  3448. 000023A8  A89E                     syscall    PenNormal
  3449. 000023AA  4A03                     tst.b      D3
  3450. 000023AC  6608                     bne        +0xA /* 000023B6 */
  3451. 000023AE  2055                     movea.l    A0, [A5]
  3452. 000023B0  4868 FFF8                pea.l      [A0 - 0x8]
  3453. 000023B4  A89D                     syscall    PenPat
  3454. label000023B6:
  3455. 000023B6  3F3C 0002                move.w     -[A7], 0x2
  3456. 000023BA  3F3C 0002                move.w     -[A7], 0x2
  3457. 000023BE  A89B                     syscall    PenSize
  3458. 000023C0  A897                     syscall    ShowPen
  3459. 000023C2  A8A1                     syscall    FrameRect
  3460. 000023C4  A896                     syscall    HidePen
  3461. 000023C6  A89E                     syscall    PenNormal
  3462. label000023C8:
  3463. 000023C8  504F                     addq.w     A7, 8
  3464. 000023CA  4CDF 0008                movem.l    D3, [A7]+
  3465. 000023CE  4E75                     rts
  3466. fn000023D0:
  3467. 000023D0  4AAA 005E                tst.l      [A2 + 0x5E]
  3468. 000023D4  670C                     beq        +0xE /* 000023E2 */
  3469. 000023D6  206A 005E                movea.l    A0, [A2 + 0x5E]
  3470. 000023DA  217C 0000 0001 0038      move.l     [A0 + 0x38], 0x1
  3471. label000023E2:
  3472. 000023E2  4E75                     rts
  3473. fn000023E4:
  3474. 000023E4  203C 0000 0082           move.l     D0, 0x82
  3475. 000023EA  A11E                     syscall    NewPtr, flags=1
  3476. 000023EC  2548 005E                move.l     [A2 + 0x5E], A0
  3477. 000023F0  2648                     movea.l    A3, A0
  3478. 000023F2  671A                     beq        +0x1C /* 0000240E */
  3479. 000023F4  303C 0400                move.w     D0, 0x400
  3480. 000023F8  3740 0026                move.w     [A3 + 0x26], D0
  3481. 000023FC  A11E                     syscall    NewPtr, flags=1
  3482. 000023FE  2748 0022                move.l     [A3 + 0x22], A0
  3483. 00002402  660A                     bne        +0xC /* 0000240E */
  3484. 00002404  206A 005E                movea.l    A0, [A2 + 0x5E]
  3485. 00002408  A01F                     syscall    DisposPtr/DisposePtr
  3486. 0000240A  42AA 005E                clr.l      [A2 + 0x5E]
  3487. label0000240E:
  3488. 0000240E  200B                     move.l     D0, A3
  3489. 00002410  4E75                     rts
  3490. fn00002412:
  3491. 00002412  2F0B                     move.l     -[A7], A3
  3492. 00002414  61CE                     bsr        -0x30 /* 000023E4 */
  3493. 00002416  6700 008C                beq        +0x8E /* 000024A4 */
  3494. 0000241A  204B                     movea.l    A0, A3
  3495. 0000241C  317C FFF6 0018           move.w     [A0 + 0x18], 0xFFF6
  3496. 00002422  317C 00F9 001A           move.w     [A0 + 0x1A], 0xF9
  3497. 00002428  A004                     syscall    Control
  3498. 0000242A  6666                     bne        +0x68 /* 00002492 */
  3499. 0000242C  377C 013D 003E           move.w     [A3 + 0x3E], 0x13D
  3500. 00002432  594F                     subq.w     A7, 4
  3501. 00002434  3F3C F000                move.w     -[A7], 0xF000
  3502. 00002438  A9BA                     syscall    GetString
  3503. 0000243A  201F                     move.l     D0, [A7]+
  3504. 0000243C  6766                     beq        +0x68 /* 000024A4 */
  3505. 0000243E  2040                     movea.l    A0, D0
  3506. 00002440  2050                     movea.l    A0, [A0]
  3507. 00002442  43EB 0040                lea.l      A1, [A3 + 0x40]
  3508. 00002446  7000                     moveq.l    D0, 0x00
  3509. 00002448  1010                     move.b     D0, [A0]
  3510. 0000244A  5240                     addq.w     D0, 1
  3511. 0000244C  3200                     move.w     D1, D0
  3512. 0000244E  A02E                     syscall    BlockMove/BlockMoveData
  3513. 00002450  D2C1                     add.w      A1, D1
  3514. 00002452  12BC 0001                move.b     [A1], 0x1
  3515. 00002456  137C 002A 0001           move.b     [A1 + 0x1], 0x2A /* '*' */
  3516. 0000245C  4AAA 0068                tst.l      [A2 + 0x68]
  3517. 00002460  670A                     beq        +0xC /* 0000246C */
  3518. 00002462  41EA 0016                lea.l      A0, [A2 + 0x16]
  3519. 00002466  1010                     move.b     D0, [A0]
  3520. 00002468  5240                     addq.w     D0, 1
  3521. 0000246A  A02E                     syscall    BlockMove/BlockMoveData
  3522. label0000246C:
  3523. 0000246C  42AB 000C                clr.l      [A3 + 0xC]
  3524. 00002470  377C 00FB 001A           move.w     [A3 + 0x1A], 0xFB
  3525. 00002476  41EB 003E                lea.l      A0, [A3 + 0x3E]
  3526. 0000247A  2748 001E                move.l     [A3 + 0x1E], A0
  3527. 0000247E  377C 0100 0028           move.w     [A3 + 0x28], 0x100
  3528. 00002484  277C 0000 0001 0038      move.l     [A3 + 0x38], 0x1
  3529. 0000248C  6100 035E                bsr        +0x360 /* 000027EC */
  3530. 00002490  6A12                     bpl        +0x14 /* 000024A4 */
  3531. label00002492:
  3532. 00002492  3400                     move.w     D2, D0
  3533. 00002494  206B 0022                movea.l    A0, [A3 + 0x22]
  3534. 00002498  A01F                     syscall    DisposPtr/DisposePtr
  3535. 0000249A  204B                     movea.l    A0, A3
  3536. 0000249C  A01F                     syscall    DisposPtr/DisposePtr
  3537. 0000249E  42AA 005E                clr.l      [A2 + 0x5E]
  3538. 000024A2  3002                     move.w     D0, D2
  3539. label000024A4:
  3540. 000024A4  265F                     movea.l    A3, [A7]+
  3541. 000024A6  4E75                     rts
  3542. fn000024A8:
  3543. 000024A8  202A 005E                move.l     D0, [A2 + 0x5E]
  3544. 000024AC  6726                     beq        +0x28 /* 000024D4 */
  3545. 000024AE  2F0B                     move.l     -[A7], A3
  3546. 000024B0  2640                     movea.l    A3, D0
  3547. 000024B2  4A6B 0010                tst.w      [A3 + 0x10]
  3548. 000024B6  6F02                     ble        +0x4 /* 000024BA */
  3549. 000024B8  611C                     bsr        +0x1E /* 000024D6 */
  3550. label000024BA:
  3551. 000024BA  377C 00FF 001A           move.w     [A3 + 0x1A], 0xFF
  3552. 000024C0  204B                     movea.l    A0, A3
  3553. 000024C2  A004                     syscall    Control
  3554. 000024C4  206B 0022                movea.l    A0, [A3 + 0x22]
  3555. 000024C8  A01F                     syscall    DisposPtr/DisposePtr
  3556. 000024CA  204B                     movea.l    A0, A3
  3557. 000024CC  A01F                     syscall    DisposPtr/DisposePtr
  3558. 000024CE  42AA 005E                clr.l      [A2 + 0x5E]
  3559. 000024D2  265F                     movea.l    A3, [A7]+
  3560. label000024D4:
  3561. 000024D4  4E75                     rts
  3562. fn000024D6:
  3563. 000024D6  6120                     bsr        +0x22 /* 000024F8 */
  3564. 000024D8  9EFC 0032                sub.w      A7, 0x32 /* '2' */
  3565. 000024DC  204F                     movea.l    A0, A7
  3566. 000024DE  317C FFF6 0018           move.w     [A0 + 0x18], 0xFFF6
  3567. 000024E4  317C 00FE 001A           move.w     [A0 + 0x1A], 0xFE
  3568. 000024EA  216A 005E 001C           move.l     [A0 + 0x1C], [A2 + 0x5E]
  3569. 000024F0  A004                     syscall    Control
  3570. 000024F2  4FEF 0032                lea.l      A7, [A7 + 0x32]
  3571. 000024F6  4E75                     rts
  3572. fn000024F8:
  3573. 000024F8  202A 005E                move.l     D0, [A2 + 0x5E]
  3574. 000024FC  6726                     beq        +0x28 /* 00002524 */
  3575. 000024FE  2F0B                     move.l     -[A7], A3
  3576. 00002500  2640                     movea.l    A3, D0
  3577. 00002502  4A6B 0010                tst.w      [A3 + 0x10]
  3578. 00002506  6F1A                     ble        +0x1C /* 00002522 */
  3579. 00002508  2078 02DC                movea.l    A0, [0x000002DC /* ABusDCE */]
  3580. 0000250C  0C28 0004 0007           cmpi.b     [A0 + 0x7], 0x4
  3581. 00002512  670E                     beq        +0x10 /* 00002522 */
  3582. 00002514  0C28 002D 0007           cmpi.b     [A0 + 0x7], 0x2D /* '-' */
  3583. 0000251A  6406                     bcc        +0x8 /* 00002522 */
  3584. 0000251C  177C 0001 001D           move.b     [A3 + 0x1D], 0x1
  3585. label00002522:
  3586. 00002522  265F                     movea.l    A3, [A7]+
  3587. label00002524:
  3588. 00002524  4E75                     rts
  3589. fn00002526:
  3590. 00002526  4240                     clr.w      D0
  3591. 00002528  48E7 4080                movem.l    -[A7], D1,A0
  3592. 0000252C  E049                     lsr        D1.w, 8
  3593. 0000252E  2078 02D8                movea.l    A0, [0x000002D8 /* ABusVars */]
  3594. 00002532  B210                     cmp.b      D1, [A0]
  3595. 00002534  660C                     bne        +0xE /* 00002542 */
  3596. 00002536  4841                     swap.w     D1
  3597. 00002538  B268 001A                cmp.w      D1, [A0 + 0x1A]
  3598. 0000253C  6604                     bne        +0x6 /* 00002542 */
  3599. 0000253E  303C 029A                move.w     D0, 0x29A
  3600. label00002542:
  3601. 00002542  4A40                     tst.w      D0
  3602. 00002544  4CDF 0102                movem.l    D1,A0, [A7]+
  3603. 00002548  4E75                     rts
  3604. fn0000254A:
  3605. 0000254A  4E56 FEFA                link       A6, -0x0106
  3606. 0000254E  48E7 1F10                movem.l    -[A7], D3,D4,D5,D6,D7,A3
  3607. 00002552  266A 005E                movea.l    A3, [A2 + 0x5E]
  3608. 00002556  382B 002A                move.w     D4, [A3 + 0x2A]
  3609. 0000255A  302B 003C                move.w     D0, [A3 + 0x3C]
  3610. 0000255E  B840                     cmp.w      D4, D0
  3611. 00002560  6700 016A                beq        +0x16C /* 000026CC */
  3612. 00002564  3744 003C                move.w     [A3 + 0x3C], D4
  3613. 00002568  9840                     sub.w      D4, D0
  3614. 0000256A  5344                     subq.w     D4, 1
  3615. 0000256C  302B 0032                move.w     D0, [A3 + 0x32]
  3616. 00002570  266B 0022                movea.l    A3, [A3 + 0x22]
  3617. 00002574  D6C0                     add.w      A3, D0
  3618. 00002576  A896                     syscall    HidePen
  3619. 00002578  422E FFFF                clr.b      [A6 - 0x1]
  3620. label0000257C:
  3621. 0000257C  7C00                     moveq.l    D6, 0x00
  3622. 0000257E  1C2B 0005                move.b     D6, [A3 + 0x5]
  3623. 00002582  48E7 0800                movem.l    -[A7], D4
  3624. 00002586  206A 0008                movea.l    A0, [A2 + 0x8]
  3625. 0000258A  2050                     movea.l    A0, [A0]
  3626. 0000258C  3628 0048                move.w     D3, [A0 + 0x48]
  3627. 00002590  3828 004C                move.w     D4, [A0 + 0x4C]
  3628. label00002594:
  3629. 00002594  B843                     cmp.w      D4, D3
  3630. 00002596  6748                     beq        +0x4A /* 000025E0 */
  3631. 00002598  3A04                     move.w     D5, D4
  3632. 0000259A  9A43                     sub.w      D5, D3
  3633. 0000259C  E245                     asr        D5.w, 1
  3634. 0000259E  DA43                     add.w      D5, D3
  3635. 000025A0  3005                     move.w     D0, D5
  3636. 000025A2  41EE FEFA                lea.l      A0, [A6 - 0x106]
  3637. 000025A6  6100 06F6                bsr        +0x6F8 /* 00002C9E */
  3638. 000025AA  7000                     moveq.l    D0, 0x00
  3639. 000025AC  2200                     move.l     D1, D0
  3640. 000025AE  41EB 0005                lea.l      A0, [A3 + 0x5]
  3641. 000025B2  1018                     move.b     D0, [A0]+
  3642. 000025B4  43EE FEFA                lea.l      A1, [A6 - 0x106]
  3643. 000025B8  1219                     move.b     D1, [A1]+
  3644. 000025BA  554F                     subq.w     A7, 2
  3645. 000025BC  2F08                     move.l     -[A7], A0
  3646. 000025BE  2F09                     move.l     -[A7], A1
  3647. 000025C0  3F00                     move.w     -[A7], D0
  3648. 000025C2  3F01                     move.w     -[A7], D1
  3649. 000025C4  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  3650. 000025C8  A9ED                     syscall    Pack6
  3651. 000025CA  301F                     move.w     D0, [A7]+
  3652. 000025CC  6B08                     bmi        +0xA /* 000025D6 */
  3653. 000025CE  670A                     beq        +0xC /* 000025DA */
  3654. 000025D0  3605                     move.w     D3, D5
  3655. 000025D2  5243                     addq.w     D3, 1
  3656. 000025D4  60BE                     bra        -0x40 /* 00002594 */
  3657. label000025D6:
  3658. 000025D6  3805                     move.w     D4, D5
  3659. 000025D8  60BA                     bra        -0x44 /* 00002594 */
  3660. label000025DA:
  3661. 000025DA  4CDF 0010                movem.l    D4, [A7]+
  3662. 000025DE  6052                     bra        +0x54 /* 00002632 */
  3663. label000025E0:
  3664. 000025E0  4CDF 0010                movem.l    D4, [A7]+
  3665. 000025E4  3A03                     move.w     D5, D3
  3666. 000025E6  202A 006C                move.l     D0, [A2 + 0x6C]
  3667. 000025EA  0800 0013                btst.b     D0, 0x13
  3668. 000025EE  6716                     beq        +0x18 /* 00002606 */
  3669. 000025F0  204B                     movea.l    A0, A3
  3670. 000025F2  1218                     move.b     D1, [A0]+
  3671. 000025F4  E149                     lsl        D1.w, 8
  3672. 000025F6  1218                     move.b     D1, [A0]+
  3673. 000025F8  4841                     swap.w     D1
  3674. 000025FA  1218                     move.b     D1, [A0]+
  3675. 000025FC  E149                     lsl        D1.w, 8
  3676. 000025FE  1210                     move.b     D1, [A0]
  3677. 00002600  6100 FF24                bsr        -0xDA /* 00002526 */
  3678. 00002604  6668                     bne        +0x6A /* 0000266E */
  3679. label00002606:
  3680. 00002606  522E FFFF                addq.b     [A6 - 0x1], 1
  3681. 0000260A  554F                     subq.w     A7, 2
  3682. 0000260C  3F3C 0001                move.w     -[A7], 0x1
  3683. 00002610  3F05                     move.w     -[A7], D5
  3684. 00002612  2F2A 0008                move.l     -[A7], [A2 + 0x8]
  3685. 00002616  3F3C 0008                move.w     -[A7], 0x8
  3686. 0000261A  A9E7                     syscall    Pack0/ListManager
  3687. 0000261C  544F                     addq.w     A7, 2
  3688. 0000261E  486B 0006                pea.l      [A3 + 0x6]
  3689. 00002622  3F06                     move.w     -[A7], D6
  3690. 00002624  4267                     clr.w      -[A7]
  3691. 00002626  3F05                     move.w     -[A7], D5
  3692. 00002628  2F2A 0008                move.l     -[A7], [A2 + 0x8]
  3693. 0000262C  3F3C 0058                move.w     -[A7], 0x58 /* 'X' */
  3694. 00002630  A9E7                     syscall    Pack0/ListManager
  3695. label00002632:
  3696. 00002632  204B                     movea.l    A0, A3
  3697. 00002634  43EE FFFA                lea.l      A1, [A6 - 0x6]
  3698. 00002638  7004                     moveq.l    D0, 0x04
  3699. 0000263A  A02E                     syscall    BlockMove/BlockMoveData
  3700. 0000263C  1D7C 0002 FFFE           move.b     [A6 - 0x2], 0x2
  3701. 00002642  486E FFFA                pea.l      [A6 - 0x6]
  3702. 00002646  3F3C 0005                move.w     -[A7], 0x5
  3703. 0000264A  3F3C 0001                move.w     -[A7], 0x1
  3704. 0000264E  3F05                     move.w     -[A7], D5
  3705. 00002650  2F2A 0008                move.l     -[A7], [A2 + 0x8]
  3706. 00002654  3F3C 0058                move.w     -[A7], 0x58 /* 'X' */
  3707. 00002658  A9E7                     syscall    Pack0/ListManager
  3708. 0000265A  0C2E 000B FFFF           cmpi.b     [A6 - 0x1], 0xB
  3709. 00002660  6D0C                     blt        +0xE /* 0000266E */
  3710. 00002662  422E FFFF                clr.b      [A6 - 0x1]
  3711. 00002666  A897                     syscall    ShowPen
  3712. 00002668  6100 00D4                bsr        +0xD6 /* 0000273E */
  3713. 0000266C  A896                     syscall    HidePen
  3714. label0000266E:
  3715. 0000266E  47F3 6006                lea.l      A3, [A3 + D6.w + 0x6]
  3716. 00002672  1C1B                     move.b     D6, [A3]+
  3717. 00002674  D6C6                     add.w      A3, D6
  3718. 00002676  1C1B                     move.b     D6, [A3]+
  3719. 00002678  D6C6                     add.w      A3, D6
  3720. 0000267A  51CC FF00                dbf        D4, -0x102 /* 0000257C */
  3721. 0000267E  220B                     move.l     D1, A3
  3722. 00002680  266A 005E                movea.l    A3, [A2 + 0x5E]
  3723. 00002684  382B 002A                move.w     D4, [A3 + 0x2A]
  3724. 00002688  302B 003C                move.w     D0, [A3 + 0x3C]
  3725. 0000268C  3744 003C                move.w     [A3 + 0x3C], D4
  3726. 00002690  9840                     sub.w      D4, D0
  3727. 00002692  6708                     beq        +0xA /* 0000269C */
  3728. 00002694  5344                     subq.w     D4, 1
  3729. 00002696  2641                     movea.l    A3, D1
  3730. 00002698  6000 FEE2                bra        -0x11C /* 0000257C */
  3731. label0000269C:
  3732. 0000269C  92AB 0022                sub.l      D1, [A3 + 0x22]
  3733. 000026A0  3741 0032                move.w     [A3 + 0x32], D1
  3734. 000026A4  A897                     syscall    ShowPen
  3735. 000026A6  4A2E FFFF                tst.b      [A6 - 0x1]
  3736. 000026AA  670C                     beq        +0xE /* 000026B8 */
  3737. 000026AC  6100 0090                bsr        +0x92 /* 0000273E */
  3738. 000026B0  282A 006C                move.l     D4, [A2 + 0x6C]
  3739. 000026B4  6100 064C                bsr        +0x64E /* 00002D02 */
  3740. label000026B8:
  3741. 000026B8  302B 0026                move.w     D0, [A3 + 0x26]
  3742. 000026BC  906B 0032                sub.w      D0, [A3 + 0x32]
  3743. 000026C0  0C40 0048                cmpi.w     D0, 0x48 /* 'H' */
  3744. 000026C4  6406                     bcc        +0x8 /* 000026CC */
  3745. 000026C6  6100 FE0E                bsr        -0x1F0 /* 000024D6 */
  3746. 000026CA  6024                     bra        +0x26 /* 000026F0 */
  3747. label000026CC:
  3748. 000026CC  4A6B 0010                tst.w      [A3 + 0x10]
  3749. 000026D0  6E64                     bgt        +0x66 /* 00002736 */
  3750. 000026D2  594F                     subq.w     A7, 4
  3751. 000026D4  A975                     syscall    TickCount
  3752. 000026D6  201F                     move.l     D0, [A7]+
  3753. 000026D8  90AB 0034                sub.l      D0, [A3 + 0x34]
  3754. 000026DC  B0AB 0038                cmp.l      D0, [A3 + 0x38]
  3755. 000026E0  6D54                     blt        +0x56 /* 00002736 */
  3756. 000026E2  302B 0026                move.w     D0, [A3 + 0x26]
  3757. 000026E6  906B 0032                sub.w      D0, [A3 + 0x32]
  3758. 000026EA  0C40 0048                cmpi.w     D0, 0x48 /* 'H' */
  3759. 000026EE  6430                     bcc        +0x32 /* 00002720 */
  3760. label000026F0:
  3761. 000026F0  3A2B 0026                move.w     D5, [A3 + 0x26]
  3762. 000026F4  0645 0200                addi.w     D5, 0x200
  3763. 000026F8  0C45 4800                cmpi.w     D5, 0x4800 /* 'H\0' */
  3764. 000026FC  6E24                     bgt        +0x26 /* 00002722 */
  3765. 000026FE  206B 0022                movea.l    A0, [A3 + 0x22]
  3766. 00002702  A01F                     syscall    DisposPtr/DisposePtr
  3767. 00002704  3005                     move.w     D0, D5
  3768. 00002706  A11E                     syscall    NewPtr, flags=1
  3769. 00002708  660A                     bne        +0xC /* 00002714 */
  3770. 0000270A  3745 0026                move.w     [A3 + 0x26], D5
  3771. 0000270E  2748 0022                move.l     [A3 + 0x22], A0
  3772. 00002712  600E                     bra        +0x10 /* 00002722 */
  3773. label00002714:
  3774. 00002714  302B 0026                move.w     D0, [A3 + 0x26]
  3775. 00002718  A11E                     syscall    NewPtr, flags=1
  3776. 0000271A  2748 0022                move.l     [A3 + 0x22], A0
  3777. 0000271E  6002                     bra        +0x4 /* 00002722 */
  3778. label00002720:
  3779. 00002720  615A                     bsr        +0x5C /* 0000277C */
  3780. label00002722:
  3781. 00002722  6100 00C8                bsr        +0xCA /* 000027EC */
  3782. 00002726  6A0E                     bpl        +0x10 /* 00002736 */
  3783. 00002728  206B 0022                movea.l    A0, [A3 + 0x22]
  3784. 0000272C  A01F                     syscall    DisposPtr/DisposePtr
  3785. 0000272E  204B                     movea.l    A0, A3
  3786. 00002730  A01F                     syscall    DisposPtr/DisposePtr
  3787. 00002732  42AA 005E                clr.l      [A2 + 0x5E]
  3788. label00002736:
  3789. 00002736  4CDF 08F8                movem.l    D3,D4,D5,D6,D7,A3, [A7]+
  3790. 0000273A  4E5E                     unlink     A6
  3791. 0000273C  4E75                     rts
  3792. fn0000273E:
  3793. 0000273E  48E7 0018                movem.l    -[A7], A3,A4
  3794. 00002742  594F                     subq.w     A7, 4
  3795. 00002744  A8D8                     syscall    NewRgn
  3796. 00002746  265F                     movea.l    A3, [A7]+
  3797. 00002748  206A 0008                movea.l    A0, [A2 + 0x8]
  3798. 0000274C  2050                     movea.l    A0, [A0]
  3799. 0000274E  2F28 0004                move.l     -[A7], [A0 + 0x4]
  3800. 00002752  2017                     move.l     D0, [A7]
  3801. 00002754  0640 000F                addi.w     D0, 0xF
  3802. 00002758  2E80                     move.l     [A7], D0
  3803. 0000275A  2F10                     move.l     -[A7], [A0]
  3804. 0000275C  284F                     movea.l    A4, A7
  3805. 0000275E  2F0B                     move.l     -[A7], A3
  3806. 00002760  2F0C                     move.l     -[A7], A4
  3807. 00002762  A8DF                     syscall    RectRgn
  3808. 00002764  2F0B                     move.l     -[A7], A3
  3809. 00002766  2F2A 0008                move.l     -[A7], [A2 + 0x8]
  3810. 0000276A  3F3C 0064                move.w     -[A7], 0x64 /* 'd' */
  3811. 0000276E  A9E7                     syscall    Pack0/ListManager
  3812. 00002770  2F0B                     move.l     -[A7], A3
  3813. 00002772  A8D9                     syscall    DisposRgn/DisposeRgn
  3814. 00002774  504F                     addq.w     A7, 8
  3815. 00002776  4CDF 1800                movem.l    A3,A4, [A7]+
  3816. 0000277A  4E75                     rts
  3817. fn0000277C:
  3818. 0000277C  4E56 FFF8                link       A6, -0x0008
  3819. 00002780  48E7 0108                movem.l    -[A7], D7,A4
  3820. 00002784  286A 0008                movea.l    A4, [A2 + 0x8]
  3821. 00002788  2054                     movea.l    A0, [A4]
  3822. 0000278A  3E28 004C                move.w     D7, [A0 + 0x4C]
  3823. 0000278E  9E68 0048                sub.w      D7, [A0 + 0x48]
  3824. 00002792  604C                     bra        +0x4E /* 000027E0 */
  3825. label00002794:
  3826. 00002794  486E FFF8                pea.l      [A6 - 0x8]
  3827. 00002798  3D7C 0005 FFFE           move.w     [A6 - 0x2], 0x5
  3828. 0000279E  486E FFFE                pea.l      [A6 - 0x2]
  3829. 000027A2  3F3C 0001                move.w     -[A7], 0x1
  3830. 000027A6  3F07                     move.w     -[A7], D7
  3831. 000027A8  2F0C                     move.l     -[A7], A4
  3832. 000027AA  3F3C 0038                move.w     -[A7], 0x38 /* '8' */
  3833. 000027AE  A9E7                     syscall    Pack0/ListManager
  3834. 000027B0  4A2E FFFC                tst.b      [A6 - 0x4]
  3835. 000027B4  6F1C                     ble        +0x1E /* 000027D2 */
  3836. 000027B6  532E FFFC                subq.b     [A6 - 0x4], 1
  3837. 000027BA  486E FFF8                pea.l      [A6 - 0x8]
  3838. 000027BE  3F3C 0005                move.w     -[A7], 0x5
  3839. 000027C2  3F3C 0001                move.w     -[A7], 0x1
  3840. 000027C6  3F07                     move.w     -[A7], D7
  3841. 000027C8  2F0C                     move.l     -[A7], A4
  3842. 000027CA  3F3C 0058                move.w     -[A7], 0x58 /* 'X' */
  3843. 000027CE  A9E7                     syscall    Pack0/ListManager
  3844. 000027D0  600E                     bra        +0x10 /* 000027E0 */
  3845. label000027D2:
  3846. 000027D2  3F3C 0001                move.w     -[A7], 0x1
  3847. 000027D6  3F07                     move.w     -[A7], D7
  3848. 000027D8  2F0C                     move.l     -[A7], A4
  3849. 000027DA  3F3C 0024                move.w     -[A7], 0x24 /* '$' */
  3850. 000027DE  A9E7                     syscall    Pack0/ListManager
  3851. label000027E0:
  3852. 000027E0  51CF FFB2                dbf        D7, -0x50 /* 00002794 */
  3853. 000027E4  4CDF 1080                movem.l    D7,A4, [A7]+
  3854. 000027E8  4E5E                     unlink     A6
  3855. 000027EA  4E75                     rts
  3856. fn000027EC:
  3857. 000027EC  377C 0F03 001C           move.w     [A3 + 0x1C], 0xF03
  3858. 000027F2  594F                     subq.w     A7, 4
  3859. 000027F4  2F3C 474E 524C           move.l     -[A7], 0x474E524C /* 'GNRL' */
  3860. 000027FA  3F3C F000                move.w     -[A7], 0xF000
  3861. 000027FE  A81F                     syscall    Get1Resource
  3862. 00002800  201F                     move.l     D0, [A7]+
  3863. 00002802  6708                     beq        +0xA /* 0000280C */
  3864. 00002804  2040                     movea.l    A0, D0
  3865. 00002806  2050                     movea.l    A0, [A0]
  3866. 00002808  3750 001C                move.w     [A3 + 0x1C], [A0]
  3867. label0000280C:
  3868. 0000280C  0CAB 0000 4000 0038      cmpi.l     [A3 + 0x38], 0x4000 /* '@\0' */
  3869. 00002814  6C0A                     bge        +0xC /* 00002820 */
  3870. 00002816  202B 0038                move.l     D0, [A3 + 0x38]
  3871. 0000281A  E388                     lsl        D0, 1
  3872. 0000281C  2740 0038                move.l     [A3 + 0x38], D0
  3873. label00002820:
  3874. 00002820  594F                     subq.w     A7, 4
  3875. 00002822  A975                     syscall    TickCount
  3876. 00002824  201F                     move.l     D0, [A7]+
  3877. 00002826  2740 0034                move.l     [A3 + 0x34], D0
  3878. 0000282A  426B 002A                clr.w      [A3 + 0x2A]
  3879. 0000282E  426B 003C                clr.w      [A3 + 0x3C]
  3880. 00002832  426B 0032                clr.w      [A3 + 0x32]
  3881. 00002836  204B                     movea.l    A0, A3
  3882. 00002838  A404                     syscall    Control, flags=4
  3883. 0000283A  302B 0010                move.w     D0, [A3 + 0x10]
  3884. 0000283E  4E75                     rts
  3885. fn00002840:
  3886. 00002840  0804 001F                btst.b     D4, 0x1F
  3887. 00002844  673E                     beq        +0x40 /* 00002884 */
  3888. 00002846  0804 0019                btst.b     D4, 0x19
  3889. 0000284A  6638                     bne        +0x3A /* 00002884 */
  3890. 0000284C  2F0B                     move.l     -[A7], A3
  3891. 0000284E  6136                     bsr        +0x38 /* 00002886 */
  3892. 00002850  6624                     bne        +0x26 /* 00002876 */
  3893. 00002852  7021                     moveq.l    D0, 0x21
  3894. 00002854  A122                     syscall    NewHandle, flags=1
  3895. 00002856  2648                     movea.l    A3, A0
  3896. 00002858  2250                     movea.l    A1, [A0]
  3897. 0000285A  32BC 012A                move.w     [A1], 0x12A
  3898. 0000285E  2F08                     move.l     -[A7], A0
  3899. 00002860  2F3C 5354 5220           move.l     -[A7], 0x53545220 /* 'STR ' */
  3900. 00002866  3F3C F006                move.w     -[A7], 0xF006
  3901. 0000286A  487A 0526                pea.l      [PC + 0x526 /* 00002D92, value 0x42E, cstring "" */]
  3902. 0000286E  A9AB                     syscall    AddResource
  3903. 00002870  2F0B                     move.l     -[A7], A3
  3904. 00002872  A9B0                     syscall    WriteResource
  3905. 00002874  200B                     move.l     D0, A3
  3906. label00002876:
  3907. 00002876  2040                     movea.l    A0, D0
  3908. 00002878  2050                     movea.l    A0, [A0]
  3909. 0000287A  7000                     moveq.l    D0, 0x00
  3910. 0000287C  1018                     move.b     D0, [A0]+
  3911. 0000287E  6118                     bsr        +0x1A /* 00002898 */
  3912. 00002880  6138                     bsr        +0x3A /* 000028BA */
  3913. 00002882  265F                     movea.l    A3, [A7]+
  3914. label00002884:
  3915. 00002884  4E75                     rts
  3916. fn00002886:
  3917. 00002886  594F                     subq.w     A7, 4
  3918. 00002888  2F3C 5354 5220           move.l     -[A7], 0x53545220 /* 'STR ' */
  3919. 0000288E  3F3C F006                move.w     -[A7], 0xF006
  3920. 00002892  A81F                     syscall    Get1Resource
  3921. 00002894  201F                     move.l     D0, [A7]+
  3922. 00002896  4E75                     rts
  3923. fn00002898:
  3924. 00002898  357C 012A 0016           move.w     [A2 + 0x16], 0x12A
  3925. 0000289E  3200                     move.w     D1, D0
  3926. 000028A0  43EA 0038                lea.l      A1, [A2 + 0x38]
  3927. 000028A4  6100 04DC                bsr        +0x4DE /* 00002D82 */
  3928. 000028A8  670E                     beq        +0x10 /* 000028B8 */
  3929. 000028AA  7000                     moveq.l    D0, 0x00
  3930. 000028AC  3001                     move.w     D0, D1
  3931. 000028AE  43EA 0017                lea.l      A1, [A2 + 0x17]
  3932. 000028B2  A02E                     syscall    BlockMove/BlockMoveData
  3933. 000028B4  1541 0016                move.b     [A2 + 0x16], D1
  3934. label000028B8:
  3935. 000028B8  4E75                     rts
  3936. fn000028BA:
  3937. 000028BA  202A 0068                move.l     D0, [A2 + 0x68]
  3938. 000028BE  6700 0098                beq        +0x9A /* 00002958 */
  3939. 000028C2  48E7 1018                movem.l    -[A7], D3,A3,A4
  3940. 000028C6  2640                     movea.l    A3, D0
  3941. 000028C8  49EA 0016                lea.l      A4, [A2 + 0x16]
  3942. 000028CC  0C54 012A                cmpi.w     [A4], 0x12A
  3943. 000028D0  6604                     bne        +0x6 /* 000028D6 */
  3944. 000028D2  49EA 0038                lea.l      A4, [A2 + 0x38]
  3945. label000028D6:
  3946. 000028D6  2053                     movea.l    A0, [A3]
  3947. 000028D8  3628 004C                move.w     D3, [A0 + 0x4C]
  3948. 000028DC  603E                     bra        +0x40 /* 0000291C */
  3949. label000028DE:
  3950. 000028DE  594F                     subq.w     A7, 4
  3951. 000028E0  2F0F                     move.l     -[A7], A7
  3952. 000028E2  486F 0006                pea.l      [A7 + 0x6]
  3953. 000028E6  4267                     clr.w      -[A7]
  3954. 000028E8  3F03                     move.w     -[A7], D3
  3955. 000028EA  2F0B                     move.l     -[A7], A3
  3956. 000028EC  3F3C 0034                move.w     -[A7], 0x34 /* '4' */
  3957. 000028F0  A9E7                     syscall    Pack0/ListManager
  3958. 000028F2  341F                     move.w     D2, [A7]+
  3959. 000028F4  301F                     move.w     D0, [A7]+
  3960. 000028F6  1F3C 0001                move.b     -[A7], 0x1
  3961. 000028FA  2053                     movea.l    A0, [A3]
  3962. 000028FC  2068 0050                movea.l    A0, [A0 + 0x50]
  3963. 00002900  2050                     movea.l    A0, [A0]
  3964. 00002902  41F0 2000                lea.l      A0, [A0 + D2.w]
  3965. 00002906  224C                     movea.l    A1, A4
  3966. 00002908  6100 0478                bsr        +0x47A /* 00002D82 */
  3967. 0000290C  6702                     beq        +0x4 /* 00002910 */
  3968. 0000290E  4257                     clr.w      [A7]
  3969. label00002910:
  3970. 00002910  4267                     clr.w      -[A7]
  3971. 00002912  3F03                     move.w     -[A7], D3
  3972. 00002914  2F0B                     move.l     -[A7], A3
  3973. 00002916  3F3C 005C                move.w     -[A7], 0x5C /* '\\' */
  3974. 0000291A  A9E7                     syscall    Pack0/ListManager
  3975. label0000291C:
  3976. 0000291C  51CB FFC0                dbf        D3, -0x42 /* 000028DE */
  3977. 00002920  42A7                     clr.l      -[A7]
  3978. 00002922  204F                     movea.l    A0, A7
  3979. 00002924  554F                     subq.w     A7, 2
  3980. 00002926  1F3C 0001                move.b     -[A7], 0x1
  3981. 0000292A  2F08                     move.l     -[A7], A0
  3982. 0000292C  2F0B                     move.l     -[A7], A3
  3983. 0000292E  3F3C 003C                move.w     -[A7], 0x3C /* '<' */
  3984. 00002932  A9E7                     syscall    Pack0/ListManager
  3985. 00002934  4A1F                     tst.b      [A7]+
  3986. 00002936  584F                     addq.w     A7, 4
  3987. 00002938  6612                     bne        +0x14 /* 0000294C */
  3988. 0000293A  0C6A 012A 0016           cmpi.w     [A2 + 0x16], 0x12A
  3989. 00002940  670A                     beq        +0xC /* 0000294C */
  3990. 00002942  357C 012A 0016           move.w     [A2 + 0x16], 0x12A
  3991. 00002948  6100 FF70                bsr        -0x8E /* 000028BA */
  3992. label0000294C:
  3993. 0000294C  2F0B                     move.l     -[A7], A3
  3994. 0000294E  3F3C 0010                move.w     -[A7], 0x10
  3995. 00002952  A9E7                     syscall    Pack0/ListManager
  3996. 00002954  4CDF 1808                movem.l    D3,A3,A4, [A7]+
  3997. label00002958:
  3998. 00002958  4E75                     rts
  3999. fn0000295A:
  4000. 0000295A  2F0B                     move.l     -[A7], A3
  4001. 0000295C  0804 001F                btst.b     D4, 0x1F
  4002. 00002960  672C                     beq        +0x2E /* 0000298E */
  4003. 00002962  0804 0019                btst.b     D4, 0x19
  4004. 00002966  6626                     bne        +0x28 /* 0000298E */
  4005. 00002968  6100 FF1C                bsr        -0xE2 /* 00002886 */
  4006. 0000296C  6720                     beq        +0x22 /* 0000298E */
  4007. 0000296E  2640                     movea.l    A3, D0
  4008. 00002970  2053                     movea.l    A0, [A3]
  4009. 00002972  43EA 0016                lea.l      A1, [A2 + 0x16]
  4010. 00002976  6100 0406                bsr        +0x408 /* 00002D7E */
  4011. 0000297A  6712                     beq        +0x14 /* 0000298E */
  4012. 0000297C  41EA 0016                lea.l      A0, [A2 + 0x16]
  4013. 00002980  224B                     movea.l    A1, A3
  4014. 00002982  7021                     moveq.l    D0, 0x21
  4015. 00002984  A9E2                     syscall    PtrToXHand
  4016. 00002986  2F0B                     move.l     -[A7], A3
  4017. 00002988  A9AA                     syscall    ChangedResource
  4018. 0000298A  2F0B                     move.l     -[A7], A3
  4019. 0000298C  A9B0                     syscall    WriteResource
  4020. label0000298E:
  4021. 0000298E  265F                     movea.l    A3, [A7]+
  4022. 00002990  4E75                     rts
  4023. fn00002992:
  4024. 00002992  4E56 FFF2                link       A6, -0x000E
  4025. 00002996  206E 0008                movea.l    A0, [A6 + 0x8]
  4026. 0000299A  A029                     syscall    HLock
  4027. 0000299C  206C 001E                movea.l    A0, [A4 + 0x1E]
  4028. 000029A0  317C 0002 006C           move.w     [A0 + 0x6C], 0x2
  4029. 000029A6  302E 000C                move.w     D0, [A6 + 0xC]
  4030. 000029AA  6152                     bsr        +0x54 /* 000029FE */
  4031. 000029AC  2F2E FFFA                move.l     -[A7], [A6 - 0x6]
  4032. 000029B0  206E 0008                movea.l    A0, [A6 + 0x8]
  4033. 000029B4  2F10                     move.l     -[A7], [A0]
  4034. 000029B6  A98F                     syscall    SetDialogItemText/SetIText
  4035. 000029B8  206E 0008                movea.l    A0, [A6 + 0x8]
  4036. 000029BC  A02A                     syscall    HUnlock
  4037. 000029BE  206C 001E                movea.l    A0, [A4 + 0x1E]
  4038. 000029C2  316C 0018 006C           move.w     [A0 + 0x6C], [A4 + 0x18]
  4039. 000029C8  4E5E                     unlink     A6
  4040. 000029CA  205F                     movea.l    A0, [A7]+
  4041. 000029CC  5C4F                     addq.w     A7, 6
  4042. 000029CE  4ED0                     jmp        [A0]
  4043. fn000029D0:
  4044. 000029D0  2F0B                     move.l     -[A7], A3
  4045. 000029D2  47FA F042                lea.l      A3, [PC - 0xFBE /* 00001A16, value 0x4E56FFF2 */]
  4046. 000029D6  7006                     moveq.l    D0, 0x06
  4047. 000029D8  204B                     movea.l    A0, A3
  4048. 000029DA  613A                     bsr        +0x3C /* 00002A16 */
  4049. 000029DC  7007                     moveq.l    D0, 0x07
  4050. 000029DE  204B                     movea.l    A0, A3
  4051. 000029E0  6134                     bsr        +0x36 /* 00002A16 */
  4052. 000029E2  7008                     moveq.l    D0, 0x08
  4053. 000029E4  204B                     movea.l    A0, A3
  4054. 000029E6  612E                     bsr        +0x30 /* 00002A16 */
  4055. 000029E8  7010                     moveq.l    D0, 0x10
  4056. 000029EA  41FA F080                lea.l      A0, [PC - 0xF80 /* 00001A6C, value 0x4E56FFE0 */]
  4057. 000029EE  6126                     bsr        +0x28 /* 00002A16 */
  4058. 000029F0  303C 0012                move.w     D0, 0x12
  4059. 000029F4  41FA EFFE                lea.l      A0, [PC - 0x1002 /* 000019F4, value 0x4E56FFF2 */]
  4060. 000029F8  611C                     bsr        +0x1E /* 00002A16 */
  4061. 000029FA  265F                     movea.l    A3, [A7]+
  4062. 000029FC  4E75                     rts
  4063. fn000029FE:
  4064. 000029FE  206C 001E                movea.l    A0, [A4 + 0x1E]
  4065. fn00002A02:
  4066. 00002A02  2F08                     move.l     -[A7], A0
  4067. 00002A04  3F00                     move.w     -[A7], D0
  4068. 00002A06  486E FFFE                pea.l      [A6 - 0x2]
  4069. 00002A0A  486E FFFA                pea.l      [A6 - 0x6]
  4070. 00002A0E  486E FFF2                pea.l      [A6 - 0xE]
  4071. 00002A12  A98D                     syscall    GetDialogItem/GetDItem
  4072. 00002A14  4E75                     rts
  4073. fn00002A16:
  4074. 00002A16  4E56 FFF2                link       A6, -0x000E
  4075. 00002A1A  48E7 1010                movem.l    -[A7], D3,A3
  4076. 00002A1E  3600                     move.w     D3, D0
  4077. 00002A20  2648                     movea.l    A3, A0
  4078. 00002A22  61DA                     bsr        -0x24 /* 000029FE */
  4079. 00002A24  2D4B FFFA                move.l     [A6 - 0x6], A3
  4080. 00002A28  3003                     move.w     D0, D3
  4081. 00002A2A  6108                     bsr        +0xA /* 00002A34 */
  4082. 00002A2C  4CDF 0808                movem.l    D3,A3, [A7]+
  4083. 00002A30  4E5E                     unlink     A6
  4084. 00002A32  4E75                     rts
  4085. fn00002A34:
  4086. 00002A34  206C 001E                movea.l    A0, [A4 + 0x1E]
  4087. fn00002A38:
  4088. 00002A38  2F08                     move.l     -[A7], A0
  4089. 00002A3A  3F00                     move.w     -[A7], D0
  4090. 00002A3C  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  4091. 00002A40  2F2E FFFA                move.l     -[A7], [A6 - 0x6]
  4092. 00002A44  486E FFF2                pea.l      [A6 - 0xE]
  4093. 00002A48  A98E                     syscall    SetDialogItem/SetDItem
  4094. 00002A4A  4E75                     rts
  4095. fn00002A4C:
  4096. 00002A4C  3F03                     move.w     -[A7], D3
  4097. 00002A4E  3600                     move.w     D3, D0
  4098. 00002A50  61AC                     bsr        -0x52 /* 000029FE */
  4099. 00002A52  41EE FFF2                lea.l      A0, [A6 - 0xE]
  4100. 00002A56  2F08                     move.l     -[A7], A0
  4101. 00002A58  2F08                     move.l     -[A7], A0
  4102. 00002A5A  A8A3                     syscall    EraseRect
  4103. 00002A5C  A928                     syscall    InvalRect
  4104. 00002A5E  3003                     move.w     D0, D3
  4105. 00002A60  612A                     bsr        +0x2C /* 00002A8C */
  4106. 00002A62  361F                     move.w     D3, [A7]+
  4107. 00002A64  4E75                     rts
  4108. fn00002A66:
  4109. 00002A66  2F2A 0070                move.l     -[A7], [A2 + 0x70]
  4110. 00002A6A  A958                     syscall    HideControl
  4111. 00002A6C  2F2A 0074                move.l     -[A7], [A2 + 0x74]
  4112. 00002A70  A958                     syscall    HideControl
  4113. 00002A72  2F2A 0078                move.l     -[A7], [A2 + 0x78]
  4114. 00002A76  A958                     syscall    HideControl
  4115. 00002A78  2F2A 007C                move.l     -[A7], [A2 + 0x7C]
  4116. 00002A7C  A958                     syscall    HideControl
  4117. 00002A7E  7001                     moveq.l    D0, 0x01
  4118. 00002A80  610A                     bsr        +0xC /* 00002A8C */
  4119. 00002A82  7002                     moveq.l    D0, 0x02
  4120. 00002A84  6106                     bsr        +0x8 /* 00002A8C */
  4121. 00002A86  7003                     moveq.l    D0, 0x03
  4122. 00002A88  6102                     bsr        +0x4 /* 00002A8C */
  4123. 00002A8A  7004                     moveq.l    D0, 0x04
  4124. fn00002A8C:
  4125. 00002A8C  323C 0006                move.w     D1, 0x6
  4126. fn00002A90:
  4127. 00002A90  48E7 1800                movem.l    -[A7], D3,D4
  4128. 00002A94  3600                     move.w     D3, D0
  4129. 00002A96  3801                     move.w     D4, D1
  4130. 00002A98  6100 FF64                bsr        -0x9A /* 000029FE */
  4131. 00002A9C  486E FFF2                pea.l      [A6 - 0xE]
  4132. 00002AA0  6100 009C                bsr        +0x9E /* 00002B3E */
  4133. 00002AA4  3F00                     move.w     -[A7], D0
  4134. 00002AA6  3F04                     move.w     -[A7], D4
  4135. 00002AA8  610A                     bsr        +0xC /* 00002AB4 */
  4136. 00002AAA  3003                     move.w     D0, D3
  4137. 00002AAC  6186                     bsr        -0x78 /* 00002A34 */
  4138. 00002AAE  4CDF 0018                movem.l    D3,D4, [A7]+
  4139. 00002AB2  4E75                     rts
  4140. fn00002AB4:
  4141. 00002AB4  4E56 0000                link       A6, 0
  4142. 00002AB8  226E 000C                movea.l    A1, [A6 + 0xC]
  4143. 00002ABC  4291                     clr.l      [A1]
  4144. 00002ABE  42A9 0004                clr.l      [A1 + 0x4]
  4145. 00002AC2  594F                     subq.w     A7, 4
  4146. 00002AC4  2F3C 6E72 6374           move.l     -[A7], 0x6E726374 /* 'nrct' */
  4147. 00002ACA  3F2E 000A                move.w     -[A7], [A6 + 0xA]
  4148. 00002ACE  A9A0                     syscall    GetResource
  4149. 00002AD0  201F                     move.l     D0, [A7]+
  4150. 00002AD2  6718                     beq        +0x1A /* 00002AEC */
  4151. 00002AD4  2040                     movea.l    A0, D0
  4152. 00002AD6  2050                     movea.l    A0, [A0]
  4153. 00002AD8  3218                     move.w     D1, [A0]+
  4154. 00002ADA  302E 0008                move.w     D0, [A6 + 0x8]
  4155. 00002ADE  B240                     cmp.w      D1, D0
  4156. 00002AE0  650A                     bcs        +0xC /* 00002AEC */
  4157. 00002AE2  5340                     subq.w     D0, 1
  4158. 00002AE4  E740                     asl        D0.w, 3
  4159. 00002AE6  D0C0                     add.w      A0, D0
  4160. 00002AE8  22D8                     move.l     [A1]+, [A0]+
  4161. 00002AEA  2290                     move.l     [A1], [A0]
  4162. label00002AEC:
  4163. 00002AEC  4E5E                     unlink     A6
  4164. 00002AEE  205F                     movea.l    A0, [A7]+
  4165. 00002AF0  4FEF 0008                lea.l      A7, [A7 + 0x8]
  4166. 00002AF4  4ED0                     jmp        [A0]
  4167. fn00002AF6:
  4168. 00002AF6  4E56 0000                link       A6, 0
  4169. 00002AFA  226E 000C                movea.l    A1, [A6 + 0xC]
  4170. 00002AFE  4291                     clr.l      [A1]
  4171. 00002B00  4269 0004                clr.w      [A1 + 0x4]
  4172. 00002B04  594F                     subq.w     A7, 4
  4173. 00002B06  2F3C 6669 6E66           move.l     -[A7], 0x66696E66 /* 'finf' */
  4174. 00002B0C  3F2E 000A                move.w     -[A7], [A6 + 0xA]
  4175. 00002B10  A9A0                     syscall    GetResource
  4176. 00002B12  201F                     move.l     D0, [A7]+
  4177. 00002B14  671E                     beq        +0x20 /* 00002B34 */
  4178. 00002B16  2040                     movea.l    A0, D0
  4179. 00002B18  2050                     movea.l    A0, [A0]
  4180. 00002B1A  3218                     move.w     D1, [A0]+
  4181. 00002B1C  302E 0008                move.w     D0, [A6 + 0x8]
  4182. 00002B20  B240                     cmp.w      D1, D0
  4183. 00002B22  6510                     bcs        +0x12 /* 00002B34 */
  4184. 00002B24  5340                     subq.w     D0, 1
  4185. 00002B26  E340                     asl        D0.w, 1
  4186. 00002B28  3200                     move.w     D1, D0
  4187. 00002B2A  E341                     asl        D1.w, 1
  4188. 00002B2C  D041                     add.w      D0, D1
  4189. 00002B2E  D0C0                     add.w      A0, D0
  4190. 00002B30  22D8                     move.l     [A1]+, [A0]+
  4191. 00002B32  3290                     move.w     [A1], [A0]
  4192. label00002B34:
  4193. 00002B34  4E5E                     unlink     A6
  4194. 00002B36  205F                     movea.l    A0, [A7]+
  4195. 00002B38  4FEF 0008                lea.l      A7, [A7 + 0x8]
  4196. 00002B3C  4ED0                     jmp        [A0]
  4197. fn00002B3E:
  4198. 00002B3E  302C 0018                move.w     D0, [A4 + 0x18]
  4199. 00002B42  4640                     not.w      D0
  4200. 00002B44  EB40                     asl        D0.w, 5
  4201. 00002B46  0040 C000                ori.w      D0, 0xC000
  4202. 00002B4A  4E75                     rts
  4203. fn00002B4C:
  4204. 00002B4C  48E7 E0C0                movem.l    -[A7], D0,D1,D2,A0,A1
  4205. 00002B50  610A                     bsr        +0xC /* 00002B5C */
  4206. 00002B52  3F00                     move.w     -[A7], D0
  4207. 00002B54  A998                     syscall    UseResFile
  4208. 00002B56  4CDF 0307                movem.l    D0,D1,D2,A0,A1, [A7]+
  4209. 00002B5A  4E75                     rts
  4210. fn00002B5C:
  4211. 00002B5C  48E7 60C0                movem.l    -[A7], D1,D2,A0,A1
  4212. 00002B60  41FA D482                lea.l      A0, [PC - 0x2B7E /* FFFFFFE4, cstring ""<EOF> */]
  4213. 00002B64  A128                     syscall    RecoverHandle, flags=1
  4214. 00002B66  554F                     subq.w     A7, 2
  4215. 00002B68  2F08                     move.l     -[A7], A0
  4216. 00002B6A  A9A4                     syscall    HomeResFile
  4217. 00002B6C  301F                     move.w     D0, [A7]+
  4218. 00002B6E  6604                     bne        +0x6 /* 00002B74 */
  4219. 00002B70  3038 0A58                move.w     D0, [0x00000A58 /* SysMap */]
  4220. label00002B74:
  4221. 00002B74  4CDF 0306                movem.l    D1,D2,A0,A1, [A7]+
  4222. 00002B78  4E75                     rts
  4223. fn00002B7A:
  4224. 00002B7A  72FF                     moveq.l    D1, 0xFFFFFFFF
  4225. fn00002B7C:
  4226. 00002B7C  7401                     moveq.l    D2, 0x01
  4227. fn00002B7E:
  4228. 00002B7E  4E56 FEE8                link       A6, -0x0118
  4229. 00002B82  48E7 1C10                movem.l    -[A7], D3,D4,D5,A3
  4230. 00002B86  3800                     move.w     D4, D0
  4231. 00002B88  3A01                     move.w     D5, D1
  4232. 00002B8A  61B2                     bsr        -0x4C /* 00002B3E */
  4233. 00002B8C  3600                     move.w     D3, D0
  4234. 00002B8E  D042                     add.w      D0, D2
  4235. 00002B90  594F                     subq.w     A7, 4
  4236. 00002B92  3F00                     move.w     -[A7], D0
  4237. 00002B94  42A7                     clr.l      -[A7]
  4238. 00002B96  2F38 0A06                move.l     -[A7], [0x00000A06 /* MinusOne */]
  4239. 00002B9A  2F3C 444C 4F47           move.l     -[A7], 0x444C4F47 /* 'DLOG' */
  4240. 00002BA0  3F00                     move.w     -[A7], D0
  4241. 00002BA2  2F2C 001E                move.l     -[A7], [A4 + 0x1E]
  4242. 00002BA6  6100 05AA                bsr        +0x5AC /* 00003152 */
  4243. 00002BAA  3005                     move.w     D0, D5
  4244. 00002BAC  6B12                     bmi        +0x14 /* 00002BC0 */
  4245. 00002BAE  41EE FEE8                lea.l      A0, [A6 - 0x118]
  4246. 00002BB2  6168                     bsr        +0x6A /* 00002C1C */
  4247. 00002BB4  486E FEF2                pea.l      [A6 - 0x10E]
  4248. 00002BB8  42A7                     clr.l      -[A7]
  4249. 00002BBA  42A7                     clr.l      -[A7]
  4250. 00002BBC  42A7                     clr.l      -[A7]
  4251. 00002BBE  A98B                     syscall    ParamText
  4252. label00002BC0:
  4253. 00002BC0  A97C                     syscall    GetNewDialog
  4254. 00002BC2  2657                     movea.l    A3, [A7]
  4255. 00002BC4  2F2C 0014                move.l     -[A7], [A4 + 0x14]
  4256. 00002BC8  A918                     syscall    SetWRefCon
  4257. 00002BCA  486E FEF2                pea.l      [A6 - 0x10E]
  4258. 00002BCE  3F03                     move.w     -[A7], D3
  4259. 00002BD0  3F04                     move.w     -[A7], D4
  4260. 00002BD2  4EBA 0838                jsr        [PC + 0x838 /* 0000340C */]
  4261. 00002BD6  204B                     movea.l    A0, A3
  4262. 00002BD8  7003                     moveq.l    D0, 0x03
  4263. 00002BDA  6100 FE26                bsr        -0x1D8 /* 00002A02 */
  4264. 00002BDE  2F2E FFFA                move.l     -[A7], [A6 - 0x6]
  4265. 00002BE2  486E FEF2                pea.l      [A6 - 0x10E]
  4266. 00002BE6  A98F                     syscall    SetDialogItemText/SetIText
  4267. 00002BE8  204B                     movea.l    A0, A3
  4268. 00002BEA  7004                     moveq.l    D0, 0x04
  4269. 00002BEC  6100 FE14                bsr        -0x1EA /* 00002A02 */
  4270. 00002BF0  41FA EE7A                lea.l      A0, [PC - 0x1186 /* 00001A6C, value 0x4E56FFE0 */]
  4271. 00002BF4  2D48 FFFA                move.l     [A6 - 0x6], A0
  4272. 00002BF8  204B                     movea.l    A0, A3
  4273. 00002BFA  7004                     moveq.l    D0, 0x04
  4274. 00002BFC  6100 FE3A                bsr        -0x1C4 /* 00002A38 */
  4275. 00002C00  6100 DAEA                bsr        -0x2514 /* 000006EC */
  4276. 00002C04  42A7                     clr.l      -[A7]
  4277. 00002C06  486E FFFE                pea.l      [A6 - 0x2]
  4278. 00002C0A  A991                     syscall    ModalDialog
  4279. 00002C0C  2F0B                     move.l     -[A7], A3
  4280. 00002C0E  A983                     syscall    DisposeDialog
  4281. 00002C10  4CDF 0838                movem.l    D3,D4,D5,A3, [A7]+
  4282. 00002C14  302E FFFE                move.w     D0, [A6 - 0x2]
  4283. 00002C18  4E5E                     unlink     A6
  4284. 00002C1A  4E75                     rts
  4285. fn00002C1C:
  4286. 00002C1C  3F3C 010A                move.w     -[A7], 0x10A
  4287. 00002C20  2F08                     move.l     -[A7], A0
  4288. 00002C22  486F 0004                pea.l      [A7 + 0x4]
  4289. 00002C26  7200                     moveq.l    D1, 0x00
  4290. 00002C28  E248                     lsr        D0.w, 1
  4291. 00002C2A  D341                     addx.w     D1, D1
  4292. 00002C2C  3F01                     move.w     -[A7], D1
  4293. 00002C2E  3F00                     move.w     -[A7], D0
  4294. 00002C30  2F2A 0064                move.l     -[A7], [A2 + 0x64]
  4295. 00002C34  3F3C 0038                move.w     -[A7], 0x38 /* '8' */
  4296. 00002C38  A9E7                     syscall    Pack0/ListManager
  4297. 00002C3A  544F                     addq.w     A7, 2
  4298. 00002C3C  4E75                     rts
  4299. fn00002C3E:
  4300. 00002C3E  205F                     movea.l    A0, [A7]+
  4301. 00002C40  341F                     move.w     D2, [A7]+
  4302. 00002C42  221F                     move.l     D1, [A7]+
  4303. 00002C44  2F08                     move.l     -[A7], A0
  4304. 00002C46  594F                     subq.w     A7, 4
  4305. 00002C48  2F01                     move.l     -[A7], D1
  4306. 00002C4A  3F02                     move.w     -[A7], D2
  4307. 00002C4C  A9A0                     syscall    GetResource
  4308. 00002C4E  201F                     move.l     D0, [A7]+
  4309. 00002C50  674A                     beq        +0x4C /* 00002C9C */
  4310. 00002C52  2040                     movea.l    A0, D0
  4311. 00002C54  2050                     movea.l    A0, [A0]
  4312. 00002C56  2278 09DE                movea.l    A1, [0x000009DE /* WMgrPort */]
  4313. 00002C5A  2229 0014                move.l     D1, [A1 + 0x14]
  4314. 00002C5E  92A9 0010                sub.l      D1, [A1 + 0x10]
  4315. 00002C62  2028 0004                move.l     D0, [A0 + 0x4]
  4316. 00002C66  9090                     sub.l      D0, [A0]
  4317. 00002C68  3401                     move.w     D2, D1
  4318. 00002C6A  9440                     sub.w      D2, D0
  4319. 00002C6C  E24A                     lsr        D2.w, 1
  4320. 00002C6E  4241                     clr.w      D1
  4321. 00002C70  4841                     swap.w     D1
  4322. 00002C72  4840                     swap.w     D0
  4323. 00002C74  9240                     sub.w      D1, D0
  4324. 00002C76  3038 0BAA                move.w     D0, [0x00000BAA /* MBarHeight */]
  4325. 00002C7A  9240                     sub.w      D1, D0
  4326. 00002C7C  9240                     sub.w      D1, D0
  4327. 00002C7E  82FC 0004                divu.w     D1, 0x4
  4328. 00002C82  2278 09DE                movea.l    A1, [0x000009DE /* WMgrPort */]
  4329. 00002C86  D269 0010                add.w      D1, [A1 + 0x10]
  4330. 00002C8A  D240                     add.w      D1, D0
  4331. 00002C8C  D240                     add.w      D1, D0
  4332. 00002C8E  4841                     swap.w     D1
  4333. 00002C90  3202                     move.w     D1, D2
  4334. 00002C92  9290                     sub.l      D1, [A0]
  4335. 00002C94  D390                     add.l      [A0], D1
  4336. 00002C96  D3A8 0004                add.l      [A0 + 0x4], D1
  4337. 00002C9A  2010                     move.l     D0, [A0]
  4338. label00002C9C:
  4339. 00002C9C  4E75                     rts
  4340. fn00002C9E:
  4341. 00002C9E  2F0C                     move.l     -[A7], A4
  4342. 00002CA0  2848                     movea.l    A4, A0
  4343. 00002CA2  3F3C 0005                move.w     -[A7], 0x5
  4344. 00002CA6  4868 0100                pea.l      [A0 + 0x100]
  4345. 00002CAA  486F 0004                pea.l      [A7 + 0x4]
  4346. 00002CAE  3F3C 0001                move.w     -[A7], 0x1
  4347. 00002CB2  3F00                     move.w     -[A7], D0
  4348. 00002CB4  2F2A 0008                move.l     -[A7], [A2 + 0x8]
  4349. 00002CB8  3F3C 00FF                move.w     -[A7], 0xFF
  4350. 00002CBC  4868 0001                pea.l      [A0 + 0x1]
  4351. 00002CC0  486F 0004                pea.l      [A7 + 0x4]
  4352. 00002CC4  4267                     clr.w      -[A7]
  4353. 00002CC6  3F00                     move.w     -[A7], D0
  4354. 00002CC8  2F2A 0008                move.l     -[A7], [A2 + 0x8]
  4355. 00002CCC  3F3C 0038                move.w     -[A7], 0x38 /* '8' */
  4356. 00002CD0  A9E7                     syscall    Pack0/ListManager
  4357. 00002CD2  301F                     move.w     D0, [A7]+
  4358. 00002CD4  1880                     move.b     [A4], D0
  4359. 00002CD6  3F3C 0038                move.w     -[A7], 0x38 /* '8' */
  4360. 00002CDA  A9E7                     syscall    Pack0/ListManager
  4361. 00002CDC  544F                     addq.w     A7, 2
  4362. 00002CDE  285F                     movea.l    A4, [A7]+
  4363. 00002CE0  4E75                     rts
  4364. fn00002CE2:
  4365. 00002CE2  4E56 FFEE                link       A6, -0x0012
  4366. 00002CE6  3EBC 0012                move.w     [A7], 0x12
  4367. 00002CEA  41EA 0070                lea.l      A0, [A2 + 0x70]
  4368. 00002CEE  43EF 0002                lea.l      A1, [A7 + 0x2]
  4369. 00002CF2  22D8                     move.l     [A1]+, [A0]+
  4370. 00002CF4  22D8                     move.l     [A1]+, [A0]+
  4371. 00002CF6  22D8                     move.l     [A1]+, [A0]+
  4372. 00002CF8  2290                     move.l     [A1], [A0]
  4373. 00002CFA  204F                     movea.l    A0, A7
  4374. 00002CFC  6110                     bsr        +0x12 /* 00002D0E */
  4375. 00002CFE  4E5E                     unlink     A6
  4376. 00002D00  4E75                     rts
  4377. fn00002D02:
  4378. 00002D02  700E                     moveq.l    D0, 0x0E
  4379. 00002D04  6104                     bsr        +0x6 /* 00002D0A */
  4380. 00002D06  6000 DB8E                bra        -0x2470 /* 00000896 */
  4381. fn00002D0A:
  4382. 00002D0A  7200                     moveq.l    D1, 0x00
  4383. fn00002D0C:
  4384. 00002D0C  91C8                     sub.l      A0, A0
  4385. fn00002D0E:
  4386. 00002D0E  3400                     move.w     D2, D0
  4387. 00002D10  0C42 0013                cmpi.w     D2, 0x13
  4388. 00002D14  670C                     beq        +0xE /* 00002D22 */
  4389. 00002D16  701C                     moveq.l    D0, 0x1C
  4390. 00002D18  9042                     sub.w      D0, D2
  4391. 00002D1A  0104                     btst       D4, D0
  4392. 00002D1C  6604                     bne        +0x6 /* 00002D22 */
  4393. 00002D1E  7000                     moveq.l    D0, 0x00
  4394. 00002D20  605A                     bra        +0x5C /* 00002D7C */
  4395. label00002D22:
  4396. 00002D22  2F0B                     move.l     -[A7], A3
  4397. 00002D24  2648                     movea.l    A3, A0
  4398. 00002D26  206A 005A                movea.l    A0, [A2 + 0x5A]
  4399. 00002D2A  2F08                     move.l     -[A7], A0
  4400. 00002D2C  A9A2                     syscall    LoadResource
  4401. 00002D2E  4A90                     tst.l      [A0]
  4402. 00002D30  6748                     beq        +0x4A /* 00002D7A */
  4403. 00002D32  A029                     syscall    HLock
  4404. 00002D34  2010                     move.l     D0, [A0]
  4405. 00002D36  A055                     syscall    StripAddress
  4406. 00002D38  2040                     movea.l    A0, D0
  4407. 00002D3A  A01C                     syscall    FreeMem
  4408. 00002D3C  0C80 0000 07D0           cmpi.l     D0, 0x7D0
  4409. 00002D42  6D36                     blt        +0x38 /* 00002D7A */
  4410. 00002D44  554F                     subq.w     A7, 2
  4411. 00002D46  3F02                     move.w     -[A7], D2
  4412. 00002D48  3F3C 0001                move.w     -[A7], 0x1
  4413. 00002D4C  2F0B                     move.l     -[A7], A3
  4414. 00002D4E  43EA 0016                lea.l      A1, [A2 + 0x16]
  4415. 00002D52  0804 0018                btst.b     D4, 0x18
  4416. 00002D56  670A                     beq        +0xC /* 00002D62 */
  4417. 00002D58  0C51 012A                cmpi.w     [A1], 0x12A
  4418. 00002D5C  6604                     bne        +0x6 /* 00002D62 */
  4419. 00002D5E  43EA 0038                lea.l      A1, [A2 + 0x38]
  4420. label00002D62:
  4421. 00002D62  2F09                     move.l     -[A7], A1
  4422. 00002D64  2F2A 0008                move.l     -[A7], [A2 + 0x8]
  4423. 00002D68  2F01                     move.l     -[A7], D1
  4424. 00002D6A  4E90                     jsr        [A0]
  4425. 00002D6C  206A 005A                movea.l    A0, [A2 + 0x5A]
  4426. 00002D70  A02A                     syscall    HUnlock
  4427. 00002D72  2F2C 001E                move.l     -[A7], [A4 + 0x1E]
  4428. 00002D76  A873                     syscall    SetPort
  4429. 00002D78  301F                     move.w     D0, [A7]+
  4430. label00002D7A:
  4431. 00002D7A  265F                     movea.l    A3, [A7]+
  4432. label00002D7C:
  4433. 00002D7C  4E75                     rts
  4434. fn00002D7E:
  4435. 00002D7E  4240                     clr.w      D0
  4436. 00002D80  1018                     move.b     D0, [A0]+
  4437. fn00002D82:
  4438. 00002D82  4840                     swap.w     D0
  4439. 00002D84  4240                     clr.w      D0
  4440. 00002D86  1019                     move.b     D0, [A1]+
  4441. 00002D88  A03C                     syscall    CmpString
  4442. 00002D8A  4E75                     rts
  4443. 00002D8C  042E 4154 5000           subi.b     [A6 + 0x5000], 0x54 /* 'T' */
  4444. 00002D92  0000 042E                ori.b      D0, 0x2E /* '.' */
  4445. 00002D96  5850                     addq.w     [A0], 4
  4446. 00002D98  5000                     addq.b     D0, 8
  4447. 00002D9A  042E 4D50 5000           subi.b     [A6 + 0x5000], 0x50 /* 'P' */
  4448. fn00002DA0:
  4449. 00002DA0  48E7 0080                movem.l    -[A7], A0
  4450. 00002DA4  42A7                     clr.l      -[A7]
  4451. 00002DA6  224F                     movea.l    A1, A7
  4452. 00002DA8  554F                     subq.w     A7, 2
  4453. 00002DAA  204F                     movea.l    A0, A7
  4454. 00002DAC  3F38 0210                move.w     -[A7], [0x00000210 /* BootDrive */]
  4455. 00002DB0  2F00                     move.l     -[A7], D0
  4456. 00002DB2  50E7                     st         -[A7]
  4457. 00002DB4  2F08                     move.l     -[A7], A0
  4458. 00002DB6  2F09                     move.l     -[A7], A1
  4459. 00002DB8  7000                     moveq.l    D0, 0x00
  4460. 00002DBA  A823                     syscall    AliasDispatch
  4461. 00002DBC  544F                     addq.w     A7, 2
  4462. 00002DBE  201F                     move.l     D0, [A7]+
  4463. 00002DC0  4CDF 0100                movem.l    A0, [A7]+
  4464. 00002DC4  4E75                     rts
  4465. fn00002DC6:
  4466. 00002DC6  3F07                     move.w     -[A7], D7
  4467. 00002DC8  3E00                     move.w     D7, D0
  4468. 00002DCA  594F                     subq.w     A7, 4
  4469. 00002DCC  2F3C 444C 4F47           move.l     -[A7], 0x444C4F47 /* 'DLOG' */
  4470. 00002DD2  3F07                     move.w     -[A7], D7
  4471. 00002DD4  A9A0                     syscall    GetResource
  4472. 00002DD6  201F                     move.l     D0, [A7]+
  4473. 00002DD8  6740                     beq        +0x42 /* 00002E1A */
  4474. 00002DDA  2040                     movea.l    A0, D0
  4475. 00002DDC  2050                     movea.l    A0, [A0]
  4476. 00002DDE  3147 0012                move.w     [A0 + 0x12], D7
  4477. 00002DE2  3238 0BAA                move.w     D1, [0x00000BAA /* MBarHeight */]
  4478. 00002DE6  2F28 0004                move.l     -[A7], [A0 + 0x4]
  4479. 00002DEA  2F10                     move.l     -[A7], [A0]
  4480. 00002DEC  3F57 0004                move.w     [A7 + 0x4], [A7]
  4481. 00002DF0  9357                     sub.w      [A7], D1
  4482. 00002DF2  2F0F                     move.l     -[A7], A7
  4483. 00002DF4  2F3C 0004 0004           move.l     -[A7], 0x40004
  4484. 00002DFA  A8A9                     syscall    InsetRect
  4485. 00002DFC  554F                     subq.w     A7, 2
  4486. 00002DFE  486F 0002                pea.l      [A7 + 0x2]
  4487. 00002E02  2F38 09EE                move.l     -[A7], [0x000009EE /* GrayRgn */]
  4488. 00002E06  A8E9                     syscall    RectInRgn
  4489. 00002E08  4A1F                     tst.b      [A7]+
  4490. 00002E0A  504F                     addq.w     A7, 8
  4491. 00002E0C  660C                     bne        +0xE /* 00002E1A */
  4492. 00002E0E  2F3C 444C 4F47           move.l     -[A7], 0x444C4F47 /* 'DLOG' */
  4493. 00002E14  3F07                     move.w     -[A7], D7
  4494. 00002E16  6100 FE26                bsr        -0x1D8 /* 00002C3E */
  4495. label00002E1A:
  4496. 00002E1A  3E1F                     move.w     D7, [A7]+
  4497. 00002E1C  4E75                     rts
  4498. fn00002E1E:
  4499. 00002E1E  4E56 0000                link       A6, 0
  4500. 00002E22  594F                     subq.w     A7, 4
  4501. 00002E24  2F2E 000E                move.l     -[A7], [A6 + 0xE]
  4502. 00002E28  3F2E 000C                move.w     -[A7], [A6 + 0xC]
  4503. 00002E2C  A9A0                     syscall    GetResource
  4504. 00002E2E  201F                     move.l     D0, [A7]+
  4505. 00002E30  674C                     beq        +0x4E /* 00002E7E */
  4506. 00002E32  206E 0008                movea.l    A0, [A6 + 0x8]
  4507. 00002E36  2F28 0014                move.l     -[A7], [A0 + 0x14]
  4508. 00002E3A  2F28 0010                move.l     -[A7], [A0 + 0x10]
  4509. 00002E3E  2F00                     move.l     -[A7], D0
  4510. 00002E40  486F 0004                pea.l      [A7 + 0x4]
  4511. 00002E44  4A68 0006                tst.w      [A0 + 0x6]
  4512. 00002E48  6B06                     bmi        +0x8 /* 00002E50 */
  4513. 00002E4A  2028 0008                move.l     D0, [A0 + 0x8]
  4514. 00002E4E  600A                     bra        +0xC /* 00002E5A */
  4515. label00002E50:
  4516. 00002E50  2068 0002                movea.l    A0, [A0 + 0x2]
  4517. 00002E54  2050                     movea.l    A0, [A0]
  4518. 00002E56  2028 0006                move.l     D0, [A0 + 0x6]
  4519. label00002E5A:
  4520. 00002E5A  4440                     neg.w      D0
  4521. 00002E5C  3F00                     move.w     -[A7], D0
  4522. 00002E5E  4840                     swap.w     D0
  4523. 00002E60  4440                     neg.w      D0
  4524. 00002E62  3F00                     move.w     -[A7], D0
  4525. 00002E64  A8A8                     syscall    OffsetRect
  4526. 00002E66  225F                     movea.l    A1, [A7]+
  4527. 00002E68  2049                     movea.l    A0, A1
  4528. 00002E6A  A04A                     syscall    HNoPurge
  4529. 00002E6C  2050                     movea.l    A0, [A0]
  4530. 00002E6E  20DF                     move.l     [A0]+, [A7]+
  4531. 00002E70  209F                     move.l     [A0], [A7]+
  4532. 00002E72  2F09                     move.l     -[A7], A1
  4533. 00002E74  A9AA                     syscall    ChangedResource
  4534. 00002E76  2F09                     move.l     -[A7], A1
  4535. 00002E78  A9B0                     syscall    WriteResource
  4536. 00002E7A  2049                     movea.l    A0, A1
  4537. 00002E7C  A049                     syscall    HPurge
  4538. label00002E7E:
  4539. 00002E7E  4E5E                     unlink     A6
  4540. 00002E80  205F                     movea.l    A0, [A7]+
  4541. 00002E82  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4542. 00002E86  4ED0                     jmp        [A0]
  4543. fn00002E88:
  4544. 00002E88  C0FC 000C                mulu.w     D0, 0xC
  4545. 00002E8C  0680 0000 00CC           addi.l     D0, 0xCC
  4546. 00002E92  47F2 0000                lea.l      A3, [A2 + D0.w]
  4547. 00002E96  282B 0004                move.l     D4, [A3 + 0x4]
  4548. 00002E9A  4E75                     rts
  4549. fn00002E9C:
  4550. 00002E9C  2F00                     move.l     -[A7], D0
  4551. 00002E9E  554F                     subq.w     A7, 2
  4552. 00002EA0  A994                     syscall    CurResFile
  4553. 00002EA2  3F38 0A58                move.w     -[A7], [0x00000A58 /* SysMap */]
  4554. 00002EA6  A998                     syscall    UseResFile
  4555. 00002EA8  594F                     subq.w     A7, 4
  4556. 00002EAA  3F3C E000                move.w     -[A7], 0xE000
  4557. 00002EAE  A9BA                     syscall    GetString
  4558. 00002EB0  255F 0010                move.l     [A2 + 0x10], [A7]+
  4559. 00002EB4  663A                     bne        +0x3C /* 00002EF0 */
  4560. 00002EB6  6100 FC94                bsr        -0x36A /* 00002B4C */
  4561. 00002EBA  6100 FC82                bsr        -0x37C /* 00002B3E */
  4562. 00002EBE  594F                     subq.w     A7, 4
  4563. 00002EC0  3F00                     move.w     -[A7], D0
  4564. 00002EC2  A9BA                     syscall    GetString
  4565. 00002EC4  2F17                     move.l     -[A7], [A7]
  4566. 00002EC6  A992                     syscall    DetachResource
  4567. 00002EC8  2557 0010                move.l     [A2 + 0x10], [A7]
  4568. 00002ECC  2057                     movea.l    A0, [A7]
  4569. 00002ECE  A04A                     syscall    HNoPurge
  4570. 00002ED0  3F38 0A58                move.w     -[A7], [0x00000A58 /* SysMap */]
  4571. 00002ED4  A998                     syscall    UseResFile
  4572. 00002ED6  2F3C 5354 5220           move.l     -[A7], 0x53545220 /* 'STR ' */
  4573. 00002EDC  3F3C E000                move.w     -[A7], 0xE000
  4574. 00002EE0  487A 0014                pea.l      [PC + 0x14 /* 00002EF6, value 0x48E7, cstring "" */]
  4575. 00002EE4  A9AB                     syscall    AddResource
  4576. 00002EE6  4A78 0A60                tst.w      [0x00000A60 /* ResErr */]
  4577. 00002EEA  6604                     bne        +0x6 /* 00002EF0 */
  4578. 00002EEC  4267                     clr.w      -[A7]
  4579. 00002EEE  A999                     syscall    UpdateResFile
  4580. label00002EF0:
  4581. 00002EF0  A998                     syscall    UseResFile
  4582. 00002EF2  201F                     move.l     D0, [A7]+
  4583. 00002EF4  4E75                     rts
  4584. 00002EF6  0000 48E7                ori.b      D0, 0xE7
  4585. // begin alternate branch 00002EF8-00002EFE
  4586. fn00002EF8:
  4587. 00002EF8  48E7 0010                movem.l    -[A7], A3
  4588. 00002EFC  2648                     movea.l    A3, A0
  4589. // end alternate branch 00002EF8-00002EFE
  4590. fn00002EF8: // (misaligned)
  4591. 00002EFA  0010 2648                ori.b      [A0], 0x48 /* 'H' */
  4592. 00002EFE  619C                     bsr        -0x62 /* 00002E9C */
  4593. 00002F00  204B                     movea.l    A0, A3
  4594. 00002F02  614C                     bsr        +0x4E /* 00002F50 */
  4595. 00002F04  204B                     movea.l    A0, A3
  4596. 00002F06  226A 0010                movea.l    A1, [A2 + 0x10]
  4597. 00002F0A  2251                     movea.l    A1, [A1]
  4598. 00002F0C  6100 FE70                bsr        -0x18E /* 00002D7E */
  4599. 00002F10  6738                     beq        +0x3A /* 00002F4A */
  4600. 00002F12  08EA 0004 0037           bset.b     [A2 + 0x37], 0x4
  4601. 00002F18  7020                     moveq.l    D0, 0x20
  4602. 00002F1A  204B                     movea.l    A0, A3
  4603. 00002F1C  226A 0010                movea.l    A1, [A2 + 0x10]
  4604. 00002F20  2F09                     move.l     -[A7], A1
  4605. 00002F22  A9E2                     syscall    PtrToXHand
  4606. 00002F24  A9AA                     syscall    ChangedResource
  4607. 00002F26  4A78 0A60                tst.w      [0x00000A60 /* ResErr */]
  4608. 00002F2A  6714                     beq        +0x16 /* 00002F40 */
  4609. 00002F2C  2F2A 0010                move.l     -[A7], [A2 + 0x10]
  4610. 00002F30  554F                     subq.w     A7, 2
  4611. 00002F32  2F2A 0010                move.l     -[A7], [A2 + 0x10]
  4612. 00002F36  A9A6                     syscall    GetResAttrs
  4613. 00002F38  08EF 0001 0001           bset.b     [A7 + 0x1], 0x1
  4614. 00002F3E  A9A7                     syscall    SetResAttrs
  4615. label00002F40:
  4616. 00002F40  2F2A 0010                move.l     -[A7], [A2 + 0x10]
  4617. 00002F44  A9B0                     syscall    WriteResource
  4618. 00002F46  3543 0014                move.w     [A2 + 0x14], D3
  4619. label00002F4A:
  4620. 00002F4A  4CDF 0800                movem.l    A3, [A7]+
  4621. 00002F4E  4E75                     rts
  4622. fn00002F50:
  4623. 00002F50  4E56 FEDC                link       A6, -0x0124
  4624. 00002F54  48E7 0018                movem.l    -[A7], A3,A4
  4625. 00002F58  2848                     movea.l    A4, A0
  4626. 00002F5A  42AE FEE4                clr.l      [A6 - 0x11C]
  4627. 00002F5E  42AE FEE0                clr.l      [A6 - 0x120]
  4628. 00002F62  554F                     subq.w     A7, 2
  4629. 00002F64  3F38 0210                move.w     -[A7], [0x00000210 /* BootDrive */]
  4630. 00002F68  203C 6D61 6373           move.l     D0, 0x6D616373 /* 'macs' */
  4631. 00002F6E  6100 FE30                bsr        -0x1CE /* 00002DA0 */
  4632. 00002F72  2F00                     move.l     -[A7], D0
  4633. 00002F74  4878 0AD8                push.l     0xAD8
  4634. 00002F78  486E FF74                pea.l      [A6 - 0x8C]
  4635. 00002F7C  7001                     moveq.l    D0, 0x01
  4636. 00002F7E  AA52                     syscall    HFSPinaforeDispatch/HighLevelFSDispatch
  4637. 00002F80  301F                     move.w     D0, [A7]+
  4638. 00002F82  6600 00D2                bne        +0xD4 /* 00003056 */
  4639. 00002F86  554F                     subq.w     A7, 2
  4640. 00002F88  3F38 0210                move.w     -[A7], [0x00000210 /* BootDrive */]
  4641. 00002F8C  302A 000C                move.w     D0, [A2 + 0xC]
  4642. 00002F90  6100 FEF6                bsr        -0x108 /* 00002E88 */
  4643. 00002F94  202B 0008                move.l     D0, [A3 + 0x8]
  4644. 00002F98  6100 FE06                bsr        -0x1F8 /* 00002DA0 */
  4645. 00002F9C  2F00                     move.l     -[A7], D0
  4646. 00002F9E  2F0C                     move.l     -[A7], A4
  4647. 00002FA0  486E FEE8                pea.l      [A6 - 0x118]
  4648. 00002FA4  7001                     moveq.l    D0, 0x01
  4649. 00002FA6  AA52                     syscall    HFSPinaforeDispatch/HighLevelFSDispatch
  4650. 00002FA8  301F                     move.w     D0, [A7]+
  4651. 00002FAA  6600 00AA                bne        +0xAC /* 00003056 */
  4652. 00002FAE  554F                     subq.w     A7, 2
  4653. 00002FB0  486E FF74                pea.l      [A6 - 0x8C]
  4654. 00002FB4  486E FEE8                pea.l      [A6 - 0x118]
  4655. 00002FB8  486E FEE4                pea.l      [A6 - 0x11C]
  4656. 00002FBC  7002                     moveq.l    D0, 0x02
  4657. 00002FBE  A823                     syscall    AliasDispatch
  4658. 00002FC0  301F                     move.w     D0, [A7]+
  4659. 00002FC2  6600 0092                bne        +0x94 /* 00003056 */
  4660. 00002FC6  206E FEE4                movea.l    A0, [A6 - 0x11C]
  4661. 00002FCA  A025                     syscall    GetHandleSize
  4662. 00002FCC  2D40 FEE0                move.l     [A6 - 0x120], D0
  4663. 00002FD0  0C80 0000 0180           cmpi.l     D0, 0x180
  4664. 00002FD6  6E16                     bgt        +0x18 /* 00002FEE */
  4665. 00002FD8  206E FEE4                movea.l    A0, [A6 - 0x11C]
  4666. 00002FDC  203C 0000 0180           move.l     D0, 0x180
  4667. 00002FE2  A024                     syscall    SetHandleSize
  4668. 00002FE4  6670                     bne        +0x72 /* 00003056 */
  4669. 00002FE6  2D7C 0000 0180 FEE0      move.l     [A6 - 0x120], 0x180
  4670. label00002FEE:
  4671. 00002FEE  554F                     subq.w     A7, 2
  4672. 00002FF0  A994                     syscall    CurResFile
  4673. 00002FF2  3F38 0A58                move.w     -[A7], [0x00000A58 /* SysMap */]
  4674. 00002FF6  A998                     syscall    UseResFile
  4675. 00002FF8  594F                     subq.w     A7, 4
  4676. 00002FFA  2F3C 616C 6973           move.l     -[A7], 0x616C6973 /* 'alis' */
  4677. 00003000  3F3C E000                move.w     -[A7], 0xE000
  4678. 00003004  A9A0                     syscall    GetResource
  4679. 00003006  2D5F FEDC                move.l     [A6 - 0x124], [A7]+
  4680. 0000300A  6616                     bne        +0x18 /* 00003022 */
  4681. 0000300C  2F2E FEE4                move.l     -[A7], [A6 - 0x11C]
  4682. 00003010  2F3C 616C 6973           move.l     -[A7], 0x616C6973 /* 'alis' */
  4683. 00003016  3F3C E000                move.w     -[A7], 0xE000
  4684. 0000301A  487A 0046                pea.l      [PC + 0x46 /* 00003062, value 0x4E56 'NV', cstring "" */]
  4685. 0000301E  A9AB                     syscall    AddResource
  4686. 00003020  6032                     bra        +0x34 /* 00003054 */
  4687. label00003022:
  4688. 00003022  206E FEDC                movea.l    A0, [A6 - 0x124]
  4689. 00003026  A025                     syscall    GetHandleSize
  4690. 00003028  B0AE FEE0                cmp.l      D0, [A6 - 0x120]
  4691. 0000302C  6E0C                     bgt        +0xE /* 0000303A */
  4692. 0000302E  206E FEDC                movea.l    A0, [A6 - 0x124]
  4693. 00003032  202E FEE0                move.l     D0, [A6 - 0x120]
  4694. 00003036  A024                     syscall    SetHandleSize
  4695. 00003038  661A                     bne        +0x1C /* 00003054 */
  4696. label0000303A:
  4697. 0000303A  206E FEE4                movea.l    A0, [A6 - 0x11C]
  4698. 0000303E  2050                     movea.l    A0, [A0]
  4699. 00003040  226E FEDC                movea.l    A1, [A6 - 0x124]
  4700. 00003044  202E FEE0                move.l     D0, [A6 - 0x120]
  4701. 00003048  A9E2                     syscall    PtrToXHand
  4702. 0000304A  6608                     bne        +0xA /* 00003054 */
  4703. 0000304C  2F08                     move.l     -[A7], A0
  4704. 0000304E  2F08                     move.l     -[A7], A0
  4705. 00003050  A9AA                     syscall    ChangedResource
  4706. 00003052  A9B0                     syscall    WriteResource
  4707. label00003054:
  4708. 00003054  A998                     syscall    UseResFile
  4709. label00003056:
  4710. 00003056  4267                     clr.w      -[A7]
  4711. 00003058  A999                     syscall    UpdateResFile
  4712. 0000305A  4CDF 1800                movem.l    A3,A4, [A7]+
  4713. 0000305E  4E5E                     unlink     A6
  4714. 00003060  4E75                     rts
  4715. 00003062  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  4716. // begin alternate branch 00003064-0000306C
  4717. fn00003064:
  4718. 00003064  4E56 0000                link       A6, 0
  4719. 00003068  48E7 1F18                movem.l    -[A7], D3,D4,D5,D6,D7,A3,A4
  4720. // end alternate branch 00003064-0000306C
  4721. fn00003064: // (misaligned)
  4722. 00003066  0000 48E7                ori.b      D0, 0xE7
  4723. 0000306A  1F18                     move.b     -[A7], [A0]+
  4724. 0000306C  42AE 0010                clr.l      [A6 + 0x10]
  4725. 00003070  42AE 0014                clr.l      [A6 + 0x14]
  4726. 00003074  42AE 0018                clr.l      [A6 + 0x18]
  4727. 00003078  2E2E 000C                move.l     D7, [A6 + 0xC]
  4728. 0000307C  7C00                     moveq.l    D6, 0x00
  4729. label0000307E:
  4730. 0000307E  594F                     subq.w     A7, 4
  4731. 00003080  2F3C 424E 444C           move.l     -[A7], 0x424E444C /* 'BNDL' */
  4732. 00003086  5246                     addq.w     D6, 1
  4733. 00003088  3F06                     move.w     -[A7], D6
  4734. 0000308A  A80E                     syscall    Get1IndResource/Get1IxResource
  4735. 0000308C  201F                     move.l     D0, [A7]+
  4736. 0000308E  6700 008C                beq        +0x8E /* 0000311C */
  4737. 00003092  2040                     movea.l    A0, D0
  4738. 00003094  A049                     syscall    HPurge
  4739. 00003096  A029                     syscall    HLock
  4740. 00003098  2850                     movea.l    A4, [A0]
  4741. 0000309A  BE94                     cmp.l      D7, [A4]
  4742. 0000309C  6702                     beq        +0x4 /* 000030A0 */
  4743. 0000309E  60DE                     bra        -0x20 /* 0000307E */
  4744. label000030A0:
  4745. 000030A0  203C 4652 4546           move.l     D0, 0x46524546 /* 'FREF' */
  4746. 000030A6  6100 0084                bsr        +0x86 /* 0000312C */
  4747. 000030AA  67D2                     beq        -0x2C /* 0000307E */
  4748. 000030AC  3A1B                     move.w     D5, [A3]+
  4749. label000030AE:
  4750. 000030AE  361B                     move.w     D3, [A3]+
  4751. 000030B0  594F                     subq.w     A7, 4
  4752. 000030B2  2F3C 4652 4546           move.l     -[A7], 0x46524546 /* 'FREF' */
  4753. 000030B8  3F1B                     move.w     -[A7], [A3]+
  4754. 000030BA  A81F                     syscall    Get1Resource
  4755. 000030BC  201F                     move.l     D0, [A7]+
  4756. 000030BE  67BE                     beq        -0x40 /* 0000307E */
  4757. 000030C0  2040                     movea.l    A0, D0
  4758. 000030C2  A049                     syscall    HPurge
  4759. 000030C4  2050                     movea.l    A0, [A0]
  4760. 000030C6  2810                     move.l     D4, [A0]
  4761. 000030C8  B8AE 0008                cmp.l      D4, [A6 + 0x8]
  4762. 000030CC  6706                     beq        +0x8 /* 000030D4 */
  4763. 000030CE  51CD FFDE                dbf        D5, -0x24 /* 000030AE */
  4764. 000030D2  60AA                     bra        -0x54 /* 0000307E */
  4765. label000030D4:
  4766. 000030D4  203C 4943 4E23           move.l     D0, 0x49434E23 /* 'ICN#' */
  4767. 000030DA  6150                     bsr        +0x52 /* 0000312C */
  4768. 000030DC  67A0                     beq        -0x5E /* 0000307E */
  4769. 000030DE  3A1B                     move.w     D5, [A3]+
  4770. label000030E0:
  4771. 000030E0  301B                     move.w     D0, [A3]+
  4772. 000030E2  321B                     move.w     D1, [A3]+
  4773. 000030E4  B640                     cmp.w      D3, D0
  4774. 000030E6  57CD FFF8                dbeq       D5, -0xA /* 000030E0 */
  4775. 000030EA  6692                     bne        -0x6C /* 0000307E */
  4776. 000030EC  594F                     subq.w     A7, 4
  4777. 000030EE  2F3C 4943 4E23           move.l     -[A7], 0x49434E23 /* 'ICN#' */
  4778. 000030F4  3F01                     move.w     -[A7], D1
  4779. 000030F6  A81F                     syscall    Get1Resource
  4780. 000030F8  2D5F 0010                move.l     [A6 + 0x10], [A7]+
  4781. 000030FC  594F                     subq.w     A7, 4
  4782. 000030FE  2F3C 6963 6C34           move.l     -[A7], 0x69636C34 /* 'icl4' */
  4783. 00003104  3F01                     move.w     -[A7], D1
  4784. 00003106  A81F                     syscall    Get1Resource
  4785. 00003108  2D5F 0014                move.l     [A6 + 0x14], [A7]+
  4786. 0000310C  594F                     subq.w     A7, 4
  4787. 0000310E  2F3C 6963 6C38           move.l     -[A7], 0x69636C38 /* 'icl8' */
  4788. 00003114  3F01                     move.w     -[A7], D1
  4789. 00003116  A81F                     syscall    Get1Resource
  4790. 00003118  2D5F 0018                move.l     [A6 + 0x18], [A7]+
  4791. label0000311C:
  4792. 0000311C  4AAE 0010                tst.l      [A6 + 0x10]
  4793. 00003120  4CDF 18F8                movem.l    D3,D4,D5,D6,D7,A3,A4, [A7]+
  4794. 00003124  4E5E                     unlink     A6
  4795. 00003126  205F                     movea.l    A0, [A7]+
  4796. 00003128  508F                     addq.l     A7, 8
  4797. 0000312A  4ED0                     jmp        [A0]
  4798. fn0000312C:
  4799. 0000312C  48E7 4008                movem.l    -[A7], D1,A4
  4800. 00003130  97CB                     sub.l      A3, A3
  4801. 00003132  5C8C                     addq.l     A4, 6
  4802. 00003134  321C                     move.w     D1, [A4]+
  4803. label00003136:
  4804. 00003136  B09C                     cmp.l      D0, [A4]+
  4805. 00003138  6604                     bne        +0x6 /* 0000313E */
  4806. 0000313A  264C                     movea.l    A3, A4
  4807. 0000313C  600C                     bra        +0xE /* 0000314A */
  4808. label0000313E:
  4809. 0000313E  341C                     move.w     D2, [A4]+
  4810. label00003140:
  4811. 00003140  588C                     addq.l     A4, 4
  4812. 00003142  51CA FFFC                dbf        D2, -0x6 /* 00003140 */
  4813. 00003146  51C9 FFEE                dbf        D1, -0x14 /* 00003136 */
  4814. label0000314A:
  4815. 0000314A  4CDF 1002                movem.l    D1,A4, [A7]+
  4816. 0000314E  200B                     move.l     D0, A3
  4817. 00003150  4E75                     rts
  4818. fn00003152:
  4819. 00003152  4E56 FFD4                link       A6, -0x002C
  4820. 00003156  48E7 0F18                movem.l    -[A7], D4,D5,D6,D7,A3,A4
  4821. 0000315A  2C2E 0008                move.l     D6, [A6 + 0x8]
  4822. 0000315E  6610                     bne        +0x12 /* 00003170 */
  4823. 00003160  2F2E 000E                move.l     -[A7], [A6 + 0xE]
  4824. 00003164  3F2E 000C                move.w     -[A7], [A6 + 0xC]
  4825. 00003168  4EBA FAD4                jsr        [PC - 0x52C /* 00002C3E */]
  4826. 0000316C  6000 013E                bra        +0x140 /* 000032AC */
  4827. label00003170:
  4828. 00003170  42A7                     clr.l      -[A7]
  4829. 00003172  2F2E 000E                move.l     -[A7], [A6 + 0xE]
  4830. 00003176  3F2E 000C                move.w     -[A7], [A6 + 0xC]
  4831. 0000317A  A9A0                     syscall    GetResource
  4832. 0000317C  265F                     movea.l    A3, [A7]+
  4833. 0000317E  200B                     move.l     D0, A3
  4834. 00003180  6700 012A                beq        +0x12C /* 000032AC */
  4835. 00003184  2046                     movea.l    A0, D6
  4836. 00003186  4A68 0006                tst.w      [A0 + 0x6]
  4837. 0000318A  6F18                     ble        +0x1A /* 000031A4 */
  4838. 0000318C  2046                     movea.l    A0, D6
  4839. 0000318E  43EE FFF4                lea.l      A1, [A6 - 0xC]
  4840. 00003192  41E8 0010                lea.l      A0, [A0 + 0x10]
  4841. 00003196  22D8                     move.l     [A1]+, [A0]+
  4842. 00003198  22D8                     move.l     [A1]+, [A0]+
  4843. 0000319A  2046                     movea.l    A0, D6
  4844. 0000319C  2D68 0008 FFF0           move.l     [A6 - 0x10], [A0 + 0x8]
  4845. 000031A2  601C                     bra        +0x1E /* 000031C0 */
  4846. label000031A4:
  4847. 000031A4  2046                     movea.l    A0, D6
  4848. 000031A6  43EE FFF4                lea.l      A1, [A6 - 0xC]
  4849. 000031AA  41E8 0010                lea.l      A0, [A0 + 0x10]
  4850. 000031AE  22D8                     move.l     [A1]+, [A0]+
  4851. 000031B0  22D8                     move.l     [A1]+, [A0]+
  4852. 000031B2  2046                     movea.l    A0, D6
  4853. 000031B4  2068 0002                movea.l    A0, [A0 + 0x2]
  4854. 000031B8  2050                     movea.l    A0, [A0]
  4855. 000031BA  2D68 0006 FFF0           move.l     [A6 - 0x10], [A0 + 0x6]
  4856. label000031C0:
  4857. 000031C0  2053                     movea.l    A0, [A3]
  4858. 000031C2  43EE FFE0                lea.l      A1, [A6 - 0x20]
  4859. 000031C6  22D8                     move.l     [A1]+, [A0]+
  4860. 000031C8  22D8                     move.l     [A1]+, [A0]+
  4861. 000031CA  302E FFFA                move.w     D0, [A6 - 0x6]
  4862. 000031CE  906E FFF6                sub.w      D0, [A6 - 0xA]
  4863. 000031D2  322E FFE6                move.w     D1, [A6 - 0x1A]
  4864. 000031D6  926E FFE2                sub.w      D1, [A6 - 0x1E]
  4865. 000031DA  9041                     sub.w      D0, D1
  4866. 000031DC  48C0                     ext.l      D0
  4867. 000031DE  81FC 0002                divs.w     D0, 0x2
  4868. 000031E2  3D40 FFD4                move.w     [A6 - 0x2C], D0
  4869. 000031E6  302E FFF8                move.w     D0, [A6 - 0x8]
  4870. 000031EA  906E FFF4                sub.w      D0, [A6 - 0xC]
  4871. 000031EE  322E FFE4                move.w     D1, [A6 - 0x1C]
  4872. 000031F2  926E FFE0                sub.w      D1, [A6 - 0x20]
  4873. 000031F6  9041                     sub.w      D0, D1
  4874. 000031F8  48C0                     ext.l      D0
  4875. 000031FA  81FC 0003                divs.w     D0, 0x3
  4876. 000031FE  3800                     move.w     D4, D0
  4877. 00003200  2853                     movea.l    A4, [A3]
  4878. 00003202  302E FFF0                move.w     D0, [A6 - 0x10]
  4879. 00003206  4440                     neg.w      D0
  4880. 00003208  D044                     add.w      D0, D4
  4881. 0000320A  322E FFF4                move.w     D1, [A6 - 0xC]
  4882. 0000320E  D240                     add.w      D1, D0
  4883. 00003210  3D41 FFE0                move.w     [A6 - 0x20], D1
  4884. 00003214  302E FFF2                move.w     D0, [A6 - 0xE]
  4885. 00003218  4440                     neg.w      D0
  4886. 0000321A  322E FFD4                move.w     D1, [A6 - 0x2C]
  4887. 0000321E  D240                     add.w      D1, D0
  4888. 00003220  302E FFF6                move.w     D0, [A6 - 0xA]
  4889. 00003224  D041                     add.w      D0, D1
  4890. 00003226  3D40 FFE2                move.w     [A6 - 0x1E], D0
  4891. 0000322A  302C 0004                move.w     D0, [A4 + 0x4]
  4892. 0000322E  D06E FFE0                add.w      D0, [A6 - 0x20]
  4893. 00003232  9054                     sub.w      D0, [A4]
  4894. 00003234  3D40 FFE4                move.w     [A6 - 0x1C], D0
  4895. 00003238  302C 0006                move.w     D0, [A4 + 0x6]
  4896. 0000323C  D06E FFE2                add.w      D0, [A6 - 0x1E]
  4897. 00003240  906C 0002                sub.w      D0, [A4 + 0x2]
  4898. 00003244  3D40 FFE6                move.w     [A6 - 0x1A], D0
  4899. 00003248  41EE FFE8                lea.l      A0, [A6 - 0x18]
  4900. 0000324C  43EE FFE0                lea.l      A1, [A6 - 0x20]
  4901. 00003250  20D9                     move.l     [A0]+, [A1]+
  4902. 00003252  20D9                     move.l     [A0]+, [A1]+
  4903. 00003254  486E FFE8                pea.l      [A6 - 0x18]
  4904. 00003258  2F3C FFF6 FFF6           move.l     -[A7], 0xFFF6FFF6
  4905. 0000325E  A8A9                     syscall    InsetRect
  4906. 00003260  42A7                     clr.l      -[A7]
  4907. 00003262  A8D8                     syscall    NewRgn
  4908. 00003264  2E17                     move.l     D7, [A7]
  4909. 00003266  486E FFE8                pea.l      [A6 - 0x18]
  4910. 0000326A  A8DF                     syscall    RectRgn
  4911. 0000326C  42A7                     clr.l      -[A7]
  4912. 0000326E  A8D8                     syscall    NewRgn
  4913. 00003270  2A1F                     move.l     D5, [A7]+
  4914. 00003272  207C 0000 09EE           movea.l    A0, 0x9EE
  4915. 00003278  2F10                     move.l     -[A7], [A0]
  4916. 0000327A  2F07                     move.l     -[A7], D7
  4917. 0000327C  2F05                     move.l     -[A7], D5
  4918. 0000327E  A8E4                     syscall    SectRgn
  4919. 00003280  4267                     clr.w      -[A7]
  4920. 00003282  2F07                     move.l     -[A7], D7
  4921. 00003284  2F05                     move.l     -[A7], D5
  4922. 00003286  A8E3                     syscall    EqualRgn
  4923. 00003288  101F                     move.b     D0, [A7]+
  4924. 0000328A  670C                     beq        +0xE /* 00003298 */
  4925. 0000328C  2053                     movea.l    A0, [A3]
  4926. 0000328E  43EE FFE0                lea.l      A1, [A6 - 0x20]
  4927. 00003292  20D9                     move.l     [A0]+, [A1]+
  4928. 00003294  20D9                     move.l     [A0]+, [A1]+
  4929. 00003296  600C                     bra        +0xE /* 000032A4 */
  4930. label00003298:
  4931. 00003298  2F2E 000E                move.l     -[A7], [A6 + 0xE]
  4932. 0000329C  3F2E 000C                move.w     -[A7], [A6 + 0xC]
  4933. 000032A0  4EBA F99C                jsr        [PC - 0x664 /* 00002C3E */]
  4934. label000032A4:
  4935. 000032A4  2F07                     move.l     -[A7], D7
  4936. 000032A6  A8D9                     syscall    DisposRgn/DisposeRgn
  4937. 000032A8  2F05                     move.l     -[A7], D5
  4938. 000032AA  A8D9                     syscall    DisposRgn/DisposeRgn
  4939. label000032AC:
  4940. 000032AC  4CDF 18F0                movem.l    D4,D5,D6,D7,A3,A4, [A7]+
  4941. 000032B0  4E5E                     unlink     A6
  4942. 000032B2  205F                     movea.l    A0, [A7]+
  4943. 000032B4  DEFC 000A                add.w      A7, 0xA /* '\n' */
  4944. 000032B8  4ED0                     jmp        [A0]
  4945. fn000032BA:
  4946. 000032BA  4E56 FFF0                link       A6, -0x0010
  4947. 000032BE  558F                     subq.l     A7, 2
  4948. 000032C0  7002                     moveq.l    D0, 0x02
  4949. 000032C2  3F00                     move.w     -[A7], D0
  4950. 000032C4  486E FFF0                pea.l      [A6 - 0x10]
  4951. 000032C8  4EBA 0188                jsr        [PC + 0x188 /* 00003452 */]
  4952. 000032CC  7008                     moveq.l    D0, 0x08
  4953. 000032CE  B06E FFF2                cmp.w      D0, [A6 - 0xE]
  4954. 000032D2  57C0                     seq        D0
  4955. 000032D4  4400                     neg.b      D0
  4956. 000032D6  4880                     ext.w      D0
  4957. 000032D8  4E5E                     unlink     A6
  4958. 000032DA  4E75                     rts
  4959. fn000032DC:
  4960. 000032DC  4E56 0000                link       A6, 0
  4961. 000032E0  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  4962. 000032E4  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  4963. 000032E8  205F                     movea.l    A0, [A7]+
  4964. 000032EA  201F                     move.l     D0, [A7]+
  4965. 000032EC  A051                     syscall    ReadLocation/ReadXPRam
  4966. 000032EE  4E5E                     unlink     A6
  4967. 000032F0  205F                     movea.l    A0, [A7]+
  4968. 000032F2  504F                     addq.w     A7, 8
  4969. 000032F4  4ED0                     jmp        [A0]
  4970. fn000032F6:
  4971. 000032F6  4E56 0000                link       A6, 0
  4972. 000032FA  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  4973. 000032FE  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  4974. 00003302  205F                     movea.l    A0, [A7]+
  4975. 00003304  201F                     move.l     D0, [A7]+
  4976. 00003306  A052                     syscall    WriteLocation/WriteXPRam
  4977. 00003308  4E5E                     unlink     A6
  4978. 0000330A  205F                     movea.l    A0, [A7]+
  4979. 0000330C  504F                     addq.w     A7, 8
  4980. 0000330E  4ED0                     jmp        [A0]
  4981. fn00003310:
  4982. 00003310  4E56 0000                link       A6, 0
  4983. 00003314  2078 0D18                movea.l    A0, [0x00000D18 /* PowerMgrVars */]
  4984. 00003318  117C FFFF 0011           move.b     [A0 + 0x11], 0xFF
  4985. 0000331E  4E5E                     unlink     A6
  4986. 00003320  4E75                     rts
  4987. fn00003322:
  4988. 00003322  4E56 FFF4                link       A6, -0x000C
  4989. 00003326  48E7 0108                movem.l    -[A7], D7,A4
  4990. 0000332A  286E 0008                movea.l    A4, [A6 + 0x8]
  4991. 0000332E  4247                     clr.w      D7
  4992. 00003330  4214                     clr.b      [A4]
  4993. 00003332  3D7C 0058 FFF4           move.w     [A6 - 0xC], 0x58 /* 'X' */
  4994. 00003338  426E FFF6                clr.w      [A6 - 0xA]
  4995. 0000333C  7000                     moveq.l    D0, 0x00
  4996. 0000333E  2D40 FFF8                move.l     [A6 - 0x8], D0
  4997. 00003342  2D4C FFFC                move.l     [A6 - 0x4], A4
  4998. 00003346  4EBA FF72                jsr        [PC - 0x8E /* 000032BA */]
  4999. 0000334A  4A40                     tst.w      D0
  5000. 0000334C  670E                     beq        +0x10 /* 0000335C */
  5001. 0000334E  558F                     subq.l     A7, 2
  5002. 00003350  486E FFF4                pea.l      [A6 - 0xC]
  5003. 00003354  205F                     movea.l    A0, [A7]+
  5004. 00003356  A085                     syscall    IdleUpdate/PMgrOp
  5005. 00003358  3E80                     move.w     [A7], D0
  5006. 0000335A  3E1F                     move.w     D7, [A7]+
  5007. label0000335C:
  5008. 0000335C  0214 000F                andi.b     [A4], 0xF
  5009. 00003360  4CEE 1080 FFEC           movem.l    D7,A4, [A6 - 0x14]
  5010. 00003366  4E5E                     unlink     A6
  5011. 00003368  4E75                     rts
  5012. fn0000336A:
  5013. 0000336A  4E56 FFFE                link       A6, -0x0002
  5014. 0000336E  486E FFFF                pea.l      [A6 - 0x1]
  5015. 00003372  4EBA FFAE                jsr        [PC - 0x52 /* 00003322 */]
  5016. 00003376  7008                     moveq.l    D0, 0x08
  5017. 00003378  C02E FFFF                and.b      D0, [A6 - 0x1]
  5018. 0000337C  7200                     moveq.l    D1, 0x00
  5019. 0000337E  1200                     move.b     D1, D0
  5020. 00003380  3001                     move.w     D0, D1
  5021. 00003382  4E5E                     unlink     A6
  5022. 00003384  4E75                     rts
  5023. fn00003386:
  5024. 00003386  4E56 FFFE                link       A6, -0x0002
  5025. 0000338A  7077                     moveq.l    D0, 0x77
  5026. 0000338C  3F00                     move.w     -[A7], D0
  5027. 0000338E  7201                     moveq.l    D1, 0x01
  5028. 00003390  3F01                     move.w     -[A7], D1
  5029. 00003392  486E FFFF                pea.l      [A6 - 0x1]
  5030. 00003396  4EBA FF44                jsr        [PC - 0xBC /* 000032DC */]
  5031. 0000339A  7000                     moveq.l    D0, 0x00
  5032. 0000339C  7204                     moveq.l    D1, 0x04
  5033. 0000339E  C22E FFFF                and.b      D1, [A6 - 0x1]
  5034. 000033A2  57C0                     seq        D0
  5035. 000033A4  4400                     neg.b      D0
  5036. 000033A6  4880                     ext.w      D0
  5037. 000033A8  4E5E                     unlink     A6
  5038. 000033AA  4E75                     rts
  5039. fn000033AC:
  5040. 000033AC  4E56 0000                link       A6, 0
  5041. 000033B0  4EBA FF08                jsr        [PC - 0xF8 /* 000032BA */]
  5042. 000033B4  4A40                     tst.w      D0
  5043. 000033B6  6714                     beq        +0x16 /* 000033CC */
  5044. 000033B8  4EBA FFB0                jsr        [PC - 0x50 /* 0000336A */]
  5045. 000033BC  4A40                     tst.w      D0
  5046. 000033BE  670C                     beq        +0xE /* 000033CC */
  5047. 000033C0  4EBA FFC4                jsr        [PC - 0x3C /* 00003386 */]
  5048. 000033C4  4A40                     tst.w      D0
  5049. 000033C6  6704                     beq        +0x6 /* 000033CC */
  5050. 000033C8  7001                     moveq.l    D0, 0x01
  5051. 000033CA  6002                     bra        +0x4 /* 000033CE */
  5052. label000033CC:
  5053. 000033CC  7000                     moveq.l    D0, 0x00
  5054. label000033CE:
  5055. 000033CE  4E5E                     unlink     A6
  5056. 000033D0  4E75                     rts
  5057. fn000033D2:
  5058. 000033D2  4E56 FFFE                link       A6, -0x0002
  5059. 000033D6  4EBA FEE2                jsr        [PC - 0x11E /* 000032BA */]
  5060. 000033DA  4A40                     tst.w      D0
  5061. 000033DC  672A                     beq        +0x2C /* 00003408 */
  5062. 000033DE  7077                     moveq.l    D0, 0x77
  5063. 000033E0  3F00                     move.w     -[A7], D0
  5064. 000033E2  7201                     moveq.l    D1, 0x01
  5065. 000033E4  3F01                     move.w     -[A7], D1
  5066. 000033E6  486E FFFF                pea.l      [A6 - 0x1]
  5067. 000033EA  4EBA FEF0                jsr        [PC - 0x110 /* 000032DC */]
  5068. 000033EE  002E 0004 FFFF           ori.b      [A6 - 0x1], 0x4
  5069. 000033F4  7077                     moveq.l    D0, 0x77
  5070. 000033F6  3F00                     move.w     -[A7], D0
  5071. 000033F8  7201                     moveq.l    D1, 0x01
  5072. 000033FA  3F01                     move.w     -[A7], D1
  5073. 000033FC  486E FFFF                pea.l      [A6 - 0x1]
  5074. 00003400  4EBA FEF4                jsr        [PC - 0x10C /* 000032F6 */]
  5075. 00003404  4EBA FF0A                jsr        [PC - 0xF6 /* 00003310 */]
  5076. label00003408:
  5077. 00003408  4E5E                     unlink     A6
  5078. 0000340A  4E75                     rts
  5079. fn0000340C:
  5080. 0000340C  4E56 0000                link       A6, 0
  5081. 00003410  594F                     subq.w     A7, 4
  5082. 00003412  2F3C 5354 5223           move.l     -[A7], 0x53545223 /* 'STR#' */
  5083. 00003418  3F2E 000A                move.w     -[A7], [A6 + 0xA]
  5084. 0000341C  A9A0                     syscall    GetResource
  5085. 0000341E  226E 000C                movea.l    A1, [A6 + 0xC]
  5086. 00003422  4211                     clr.b      [A1]
  5087. 00003424  201F                     move.l     D0, [A7]+
  5088. 00003426  6722                     beq        +0x24 /* 0000344A */
  5089. 00003428  2040                     movea.l    A0, D0
  5090. 0000342A  2050                     movea.l    A0, [A0]
  5091. 0000342C  3018                     move.w     D0, [A0]+
  5092. 0000342E  322E 0008                move.w     D1, [A6 + 0x8]
  5093. 00003432  6716                     beq        +0x18 /* 0000344A */
  5094. 00003434  B240                     cmp.w      D1, D0
  5095. 00003436  6212                     bhi        +0x14 /* 0000344A */
  5096. 00003438  7000                     moveq.l    D0, 0x00
  5097. label0000343A:
  5098. 0000343A  5341                     subq.w     D1, 1
  5099. 0000343C  6706                     beq        +0x8 /* 00003444 */
  5100. 0000343E  1018                     move.b     D0, [A0]+
  5101. 00003440  D1C0                     add.l      A0, D0
  5102. 00003442  60F6                     bra        -0x8 /* 0000343A */
  5103. label00003444:
  5104. 00003444  1010                     move.b     D0, [A0]
  5105. 00003446  5240                     addq.w     D0, 1
  5106. 00003448  A02E                     syscall    BlockMove/BlockMoveData
  5107. label0000344A:
  5108. 0000344A  4E5E                     unlink     A6
  5109. 0000344C  205F                     movea.l    A0, [A7]+
  5110. 0000344E  508F                     addq.l     A7, 8
  5111. 00003450  4ED0                     jmp        [A0]
  5112. fn00003452:
  5113. 00003452  4A78 028E                tst.w      [0x0000028E /* ROM85 */]
  5114. 00003456  6B22                     bmi        +0x24 /* 0000347A */
  5115. 00003458  303C 0090                move.w     D0, 0x90
  5116. 0000345C  A346                     syscall    GetOSTrapAddress, flags=3
  5117. 0000345E  2248                     movea.l    A1, A0
  5118. 00003460  303C 009F                move.w     D0, 0x9F
  5119. 00003464  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  5120. 00003466  B3C8                     cmpa.l     A1, A0
  5121. 00003468  6710                     beq        +0x12 /* 0000347A */
  5122. 0000346A  225F                     movea.l    A1, [A7]+
  5123. 0000346C  205F                     movea.l    A0, [A7]+
  5124. 0000346E  301F                     move.w     D0, [A7]+
  5125. 00003470  2F09                     move.l     -[A7], A1
  5126. 00003472  A090                     syscall    SysEnvirons
  5127. 00003474  3F40 0004                move.w     [A7 + 0x4], D0
  5128. 00003478  4E75                     rts
  5129. label0000347A:
  5130. 0000347A  206F 0004                movea.l    A0, [A7 + 0x4]
  5131. 0000347E  303C 0001                move.w     D0, 0x1
  5132. 00003482  2248                     movea.l    A1, A0
  5133. 00003484  6006                     bra        +0x8 /* 0000348C */
  5134. 00003486  0313                     btst       [A3], D1
  5135. 00003488  0B02                     btst       D2, D5
  5136. 0000348A  0100                     btst       D0, D0
  5137. label0000348C:
  5138. 0000348C  303C 0010                move.w     D0, 0x10
  5139. 00003490  E240                     asr        D0.w, 1
  5140. 00003492  5340                     subq.w     D0, 1
  5141. label00003494:
  5142. 00003494  4258                     clr.w      [A0]+
  5143. 00003496  51C8 FFFC                dbf        D0, -0x6 /* 00003494 */
  5144. 0000349A  32BC 0001                move.w     [A1], 0x1
  5145. 0000349E  2078 02AE                movea.l    A0, [0x000002AE /* ROMBase */]
  5146. 000034A2  337C FFFE 0002           move.w     [A1 + 0x2], 0xFFFE
  5147. 000034A8  0C28 00FF 0009           cmpi.b     [A0 + 0x9], 0xFF
  5148. 000034AE  6742                     beq        +0x44 /* 000034F2 */
  5149. 000034B0  4A28 0008                tst.b      [A0 + 0x8]
  5150. 000034B4  6E20                     bgt        +0x22 /* 000034D6 */
  5151. 000034B6  337C FFFF 0002           move.w     [A1 + 0x2], 0xFFFF
  5152. 000034BC  4A78 028E                tst.w      [0x0000028E /* ROM85 */]
  5153. 000034C0  6B30                     bmi        +0x32 /* 000034F2 */
  5154. 000034C2  337C 0001 0002           move.w     [A1 + 0x2], 0x1
  5155. 000034C8  4A78 0B22                tst.w      [0x00000B22 /* HWCfgFlags */]
  5156. 000034CC  6A24                     bpl        +0x26 /* 000034F2 */
  5157. 000034CE  337C 0002 0002           move.w     [A1 + 0x2], 0x2
  5158. 000034D4  601C                     bra        +0x1E /* 000034F2 */
  5159. label000034D6:
  5160. 000034D6  4269 0002                clr.w      [A1 + 0x2]
  5161. 000034DA  0C28 0002 0008           cmpi.b     [A0 + 0x8], 0x2
  5162. 000034E0  6E10                     bgt        +0x12 /* 000034F2 */
  5163. 000034E2  6708                     beq        +0xA /* 000034EC */
  5164. 000034E4  337C 0004 0002           move.w     [A1 + 0x2], 0x4
  5165. 000034EA  6006                     bra        +0x8 /* 000034F2 */
  5166. label000034EC:
  5167. 000034EC  337C 0003 0002           move.w     [A1 + 0x2], 0x3
  5168. label000034F2:
  5169. 000034F2  4269 0004                clr.w      [A1 + 0x4]
  5170. 000034F6  0C38 0002 012F           cmpi.b     [0x0000012F /* CPUFlag */], 0x2
  5171. 000034FC  6E0A                     bgt        +0xC /* 00003508 */
  5172. 000034FE  1038 012F                move.b     D0, [0x0000012F /* CPUFlag */]
  5173. 00003502  5240                     addq.w     D0, 1
  5174. 00003504  1340 0007                move.b     [A1 + 0x7], D0
  5175. label00003508:
  5176. 00003508  4A78 028E                tst.w      [0x0000028E /* ROM85 */]
  5177. 0000350C  6B0E                     bmi        +0x10 /* 0000351C */
  5178. 0000350E  0838 0004 0B22           btst.b     [0x00000B22 /* HWCfgFlags */], 0x4
  5179. 00003514  6706                     beq        +0x8 /* 0000351C */
  5180. 00003516  137C 0001 0008           move.b     [A1 + 0x8], 0x1
  5181. label0000351C:
  5182. 0000351C  0C78 3FFF 028E           cmpi.w     [0x0000028E /* ROM85 */], 0x3FFF
  5183. 00003522  6206                     bhi        +0x8 /* 0000352A */
  5184. 00003524  137C 0001 0009           move.b     [A1 + 0x9], 0x1
  5185. label0000352A:
  5186. 0000352A  1038 021E                move.b     D0, [0x0000021E /* KbdType */]
  5187. 0000352E  41FA FF5B                lea.l      A0, [PC - 0xA5 /* 0000348B, value 0x303C00 '0<\0', cstring "" */]
  5188. 00003532  323C 0004                move.w     D1, 0x4
  5189. label00003536:
  5190. 00003536  B020                     cmp.b      D0, -[A0]
  5191. 00003538  57C9 FFFC                dbeq       D1, -0x6 /* 00003536 */
  5192. 0000353C  5241                     addq.w     D1, 1
  5193. 0000353E  3341 000A                move.w     [A1 + 0xA], D1
  5194. 00003542  4A38 0291                tst.b      [0x00000291 /* PortBUse */]
  5195. 00003546  6B18                     bmi        +0x1A /* 00003560 */
  5196. 00003548  1238 01FB                move.b     D1, [0x000001FB /* SPConfig */]
  5197. 0000354C  0201 000F                andi.b     D1, 0xF
  5198. 00003550  0C01 0001                cmpi.b     D1, 0x1
  5199. 00003554  660A                     bne        +0xC /* 00003560 */
  5200. 00003556  2078 02DC                movea.l    A0, [0x000002DC /* ABusDCE */]
  5201. 0000355A  1368 0007 000D           move.b     [A1 + 0xD], [A0 + 0x7]
  5202. label00003560:
  5203. 00003560  3378 0210 000E           move.w     [A1 + 0xE], [0x00000210 /* BootDrive */]
  5204. 00003566  4A78 03F6                tst.w      [0x000003F6 /* FSFCBLen */]
  5205. 0000356A  6D44                     blt        +0x46 /* 000035B0 */
  5206. 0000356C  4269 000E                clr.w      [A1 + 0xE]
  5207. 00003570  323C 003C                move.w     D1, 0x3C /* '<' */
  5208. label00003574:
  5209. 00003574  4267                     clr.w      -[A7]
  5210. 00003576  51C9 FFFC                dbf        D1, -0x6 /* 00003574 */
  5211. 0000357A  204F                     movea.l    A0, A7
  5212. 0000357C  3178 0A58 0018           move.w     [A0 + 0x18], [0x00000A58 /* SysMap */]
  5213. 00003582  7008                     moveq.l    D0, 0x08
  5214. 00003584  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  5215. 00003586  6624                     bne        +0x26 /* 000035AC */
  5216. 00003588  3168 0034 0016           move.w     [A0 + 0x16], [A0 + 0x34]
  5217. 0000358E  A207                     syscall    GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
  5218. 00003590  661A                     bne        +0x1C /* 000035AC */
  5219. 00003592  2168 005A 0030           move.l     [A0 + 0x30], [A0 + 0x5A]
  5220. 00003598  217C 4552 494B 001C      move.l     [A0 + 0x1C], 0x4552494B /* 'ERIK' */
  5221. 000035A0  7001                     moveq.l    D0, 0x01
  5222. 000035A2  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  5223. 000035A4  6606                     bne        +0x8 /* 000035AC */
  5224. 000035A6  3368 0016 000E           move.w     [A1 + 0xE], [A0 + 0x16]
  5225. label000035AC:
  5226. 000035AC  4FEF 007A                lea.l      A7, [A7 + 0x7A]
  5227. label000035B0:
  5228. 000035B0  2049                     movea.l    A0, A1
  5229. 000035B2  225F                     movea.l    A1, [A7]+
  5230. 000035B4  5C4F                     addq.w     A7, 6
  5231. 000035B6  3EBC EA84                move.w     [A7], 0xEA84
  5232. 000035BA  4ED1                     jmp        [A1]
  5233.